WPDev.one
Core Function
View Source on Trac ↗

get_oembed_response_data_rich()

get_oembed_response_data_rich( mixed $data, mixed $post, mixed $width, mixed $height )

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

Parameters 4 required

Name / Type Description
$data
array

The response data.

Required
$post
WP_Post

The post object.

Required
$width
int

The requested width.

Required
$height
int

The calculated height.

Required

Return Value

(array)
The modified response data.

Function Information

Since Version
4.4.0
Source File
wp-includes/embed.php
Advertisement