get_post_embed_url
get_post_embed_url ( $post = null )
Parameters:- (int|WP_Post) post Optional. Post ID or object. Defaults to the current post.
Returns:- (string|false) The post embed URL on success, false if the post doesn't exist.
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Retrieves the URL to embed a specific post in an iframe.