is_post_embeddable


is_post_embeddable ( $post = null )

Parameters:
  • (int|WP_Post|null) post Optional. Post ID or `WP_Post` object. Defaults to global $post.
Returns:
  • (bool) Whether the post should be considered embeddable.
Defined at:

Description

Determines whether a post is embeddable.

Related Functions

is_post_type_viewable, get_post_embed_url, get_post_embed_html, is_post_publicly_viewable, is_post_status_viewable

Top Google Results

User discussions

wpseek mobile