get_oembed_response_data_rich

SummerySummery

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

Syntax

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

ParametersParameters

$data

(array) (Required) The response data.

$post

(WP_Post) (Required) The post object.

$width

(int) (Required) The requested width.

$height

(int) (Required) The calculated height.

ReturnReturn

(array) The modified response data.

SourceSource

File: wp-includes/embed.php


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top