wppaste
WordPress

apply_filters( 'is_post_embeddable', bool $is_embeddable, WP_Post $post )

Since
6.8.0
Filter whether a post is embeddable.

Compatibility

WordPress
since 6.8.0
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in 4 of the 5 tracked releases, added in 6.8.0.

Parameters

$is_embeddablebool
Whether the post is embeddable.
$postWP_Post
Post object.

Where this hook fires · 1

  • wp-includes/post.php:2586is_post_embeddable()

Source code

	 *	 * @since 6.8.0	 *	 * @param bool    $is_embeddable Whether the post is embeddable.	 * @param WP_Post $post          Post object.	 */	return apply_filters( 'is_post_embeddable', $is_embeddable, $post );} /** * Retrieves an array of the latest posts, or posts matching the given criteria. * * For more information on the accepted arguments, see the

Changelog

Introduced in 6.8.0. Unchanged from 6.8.8 through 7.1.0.

  1. 6.8.8
  2. 6.9.7
  3. 7.0.4
  4. 7.1.0

Signature, return type and hooks compared across 4 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.