A WordPress-centric search engine for devs and theme authors



oembed_request_post_id ›

Since4.4.0
Deprecatedn/a
apply_filters( 'oembed_request_post_id', $post_id, $request['url'] )
Parameters: (2)
  • (int) $post_id The post ID.
    Required: Yes
  • (string) $url The requested URL.
    Required: Yes
Defined at:
Codex:

Filters the determined post ID.





Source

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