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 GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.