W3cubDocs

/WordPress

apply_filters( 'oembed_request_post_id', int $post_id, string $url )

Filters the determined post ID.

Parameters

$post_id

(int) The post ID.

$url

(string) The requested URL.

Source

File: wp-includes/class-wp-oembed-controller.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/oembed_request_post_id