feed_links_extra_show_post_type_archive_feed
feed_links_extra_show_post_type_archive_feed
Appears in: wordpress-6.1, wordpress-6.1.1, wordpress-6.2, wordpress-6.2.1, wordpress-6.2.2, wordpress-6.3, wordpress-6.3.1, wordpress-6.3.2, wordpress-6.4, wordpress-6.4.1, wordpress-6.4.2, wordpress-6.4.3, wordpress-6.5, wordpress-6.5.2
Hook Type: filter
Displaying hooks found in version: wordpress-6.5.2apply_filters('feed_links_extra_show_post_type_archive_feed') is found 1 times:
- /wp-includes/general-template.php line 3214
* @since 6.1.0 * * @param bool $show Whether to display the post type archive feed link. Default true. */ $show_post_type_archive_feed = apply_filters( 'feed_links_extra_show_post_type_archive_feed', true ); if ( $show_post_type_archive_feed ) { $post_type = get_query_var( 'post_type' ); if ( is_array( $post_type ) ) { $post_type = reset( $post_type );