oembed_request_post_id, $post_id, $request[url]
oembed_request_post_id, $post_id, $request[url]
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('oembed_request_post_id, $post_id, $request[url]') is found 1 times:
- /wp-includes/class-wp-oembed-controller.php line 130
* * @param int $post_id The post ID. * @param string $url The requested URL. */ $post_id = apply_filters( 'oembed_request_post_id', $post_id, $request['url'] ); $data = get_oembed_response_data( $post_id, $request['maxwidth'] ); if ( ! $data ) { return new WP_Error( 'oembed_invalid_url', get_status_header_desc( 404 ), array( 'status' => 404 ) ); }