On this page
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
File: wp-includes/embed.php. View all references
return apply_filters( 'oembed_response_data', $data, $post, $width, $height );
Related
Used By
| Used By | Description |
|---|---|
| get_oembed_response_data() wp-includes/embed.php | Retrieves the oEmbed response data for a given post. |
Changelog
| Version | Description |
|---|---|
| 4.4.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/oembed_response_data