W3cubDocs

/WordPress

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

Filters the oEmbed response data.

Parameters

$data

(array) The response data.

$post

(WP_Post) The post object.

$width

(int) The requested width.

$height

(int) The calculated height.

Source

File: wp-includes/embed.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_response_data