WordPress at Your Fingertips
filter is not described

oembed_request_post_id filter-hook . WP 1.0

This filter is documented in wp-includes/class-wp-oembed-controller.php

Usage

add_filter( 'oembed_request_post_id', 'filter_function_name_2994', 10, 2 );
function filter_function_name_2994( $post_id, $url ){
	// filter...

	return $post_id;
}
$post_id
-
$url
-

Where the hook is called

get_oembed_response_data_for_url()
oembed_request_post_id
WP_oEmbed_Controller::get_item()
oembed_request_post_id
wp-includes/embed.php 636
$post_id = apply_filters( 'oembed_request_post_id', $post_id, $url );
wp-includes/class-wp-oembed-controller.php 129
$post_id = apply_filters( 'oembed_request_post_id', $post_id, $request['url'] );

Where in WP core the hook is used WordPress

Usage not found.