wpseek.com
WordPress开发者和主题制作者的搜索引擎



oembed_request_post_id › WordPress过滤钩子

Since4.4.0
已弃用n/a
› apply_filters( 'oembed_request_post_id', $post_id, $request['url'] )
参数: (2)
  • () post_id The post ID.
    Required: Yes
  • () url The requested URL.
    Required: Yes
定义在:
文档:

Filters the determined post ID.





源码

$post_id = apply_filters( 'oembed_request_post_id', $post_id, $request['url'] );