W3cubDocs

/WordPress

apply_filters( ‘oembed_response_data’, array $data, WP_Post $post, int $width, int $height )

Filters the oEmbed response data.

Parameters

$dataarray
The response data.
$postWP_Post
The post object.
$widthint
The requested width.
$heightint
The calculated height.

Source

return apply_filters( 'oembed_response_data', $data, $post, $width, $height );

Changelog

Version Description
4.4.0 Introduced.

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