WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about oembed_request_post_id

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-oembed-controller.php apply_filters 130 /**
* Filters the determined post ID.
*
* @since 4.4.0
*
* @param int $post_id The post ID.
* @param string $url The requested URL.
*/
wp-includes/embed.php apply_filters 665 /**
* Retrieves the oEmbed response data for a given URL.
*
* @since 5.0.0
*
* @param string $url The URL that should be inspected for discovery `` tags.
* @param array $args oEmbed remote get arguments.
* @return object|false oEmbed response data if the URL does belong to the current site. False otherwise.
*/

Hook Parameters

Parameter Type Name Description
int $post_id The post ID.
string $url The requested URL.