get_oembed_response_data
get_oembed_response_data ( $post, $width )
Parameters:- (WP_Post|int) post Post ID or post object.
- (int) width The requested width.
Returns:- (array|false) Response data on success, false if post doesn't exist, is not publicly viewable or post type is not embeddable.
Defined at:Change Log: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Retrieves the oEmbed response data for a given post.