get_post_embed_html
get_post_embed_html ( $width, $height, $post = null )
Parameters:- (int) width The width for the response.
- (int) height The height for the response.
- (int|WP_Post) post Optional. Post ID or object. Default is global `$post`.
Returns:- (string|false) Embed code on success, false if post doesn't exist.
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Retrieves the embed code for a specific post.