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:

Description

Retrieves the URL to embed a specific post in an iframe.

Related Functions

get_post_embed_html, get_home_url, get_site_url, get_sitemap_url, get_post_meta

Top Google Results

User discussions

wpseek mobile