WordPress at a glance
filter is not described

oembed_response_data filter-hook . WP 4.4.0

Filters the oEmbed response data.


add_filter( 'oembed_response_data', 'filter_function_name_573', 10, 4 );
function filter_function_name_573( $data, $post, $width, $height ){
	// filter...

	return $data;
The response data.
The post object.
The requested width.
The calculated height.

Список изменений

С версии 4.4.0 Введена.

Где вызывается хук

wp-includes/embed.php 570
return apply_filters( 'oembed_response_data', $data, $post, $width, $height );

Где используется хук в ядре WP

wp-includes/default-filters.php 594
add_filter( 'oembed_response_data', 'get_oembed_response_data_rich', 10, 4 );