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



oembed_request_post_id ›

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

Filters the determined post ID.





源码

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