get_oembed_response_data

SummerySummery

Retrieves the oEmbed response data for a given post.

Syntax

get_oembed_response_data( WP_Post|int $post, int $width )

ParametersParameters

$post

(WP_Post|int) (Required) Post object or ID.

$width

(int) (Required) The requested width.

ReturnReturn

(array|false) Response data on success, false if post doesn't exist.

SourceSource

File: wp-includes/embed.php


			

ChangelogChangelog

Changelog
Version Description
4.4.0 Introduced.
Scroll to Top