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.

Top ↑

Source

File: wp-includes/class-wp-oembed-controller.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes

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