Function: get_oembed_response_data_rich

get_oembed_response_data_rich( array $data, WP_Post $post, integer $width, integer $height )

Filters the oEmbed response data to return an iframe embed code.


Name Type(s) Default Value Description
$data array

The response data.

$post WP_Post

The post object.

$width integer

The requested width.

$height integer

The calculated height.



The modified response data.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.