get_oembed_response_data


get_oembed_response_data ( $post, $width )

Parameters:
  • (WP_Post|int) $post Post object or ID.
  • (int) $width The requested width.
Returns:
  • (array|false) Response data on success, false if post doesn't exist.
Defined at:

Description

Retrieves the oEmbed response data for a given post.

Related Functions

get_oembed_response_data_rich, get_oembed_endpoint_url, get_embed_template, rest_ensure_response, wp_oembed_ensure_format

Top Google Results

User discussions

wpseek mobile