apply_filters( ‘oembed_request_post_id’, int $post_id, string $url )

In this article

Filters the determined post ID.

Parameters

$post_idint
The post ID.
$urlstring
The requested URL.

Source

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

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.