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: - Introduced in WordPress: 6.8.0
- Deprecated in WordPress: —
Description
Determines whether a post is embeddable.