Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: is_post_embeddable

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
2500
2501      /**
2502       * Filter whether a post is embeddable.
2503       *
2504       * @since 6.8.0
2505       *
2506       * @param bool    $is_embeddable Whether the post is embeddable.
2507       * @param WP_Post $post          Post object.
2508       */
2509      return apply_filters( 'is_post_embeddable', $is_embeddable, $post );
2510 }
2511
2512 /**
2513  * Retrieves an array of the latest posts, or posts matching the given criteria.
2514  *
2515  * For more information on the accepted arguments, see the
2516  * {@link https://developer.wordpress.org/reference/classes/wp_query/
2517  * WP_Query} documentation in the Developer Handbook.
2518  *