feed_links_extra_show_post_type_archive_feed
feed_links_extra_show_post_type_archive_feed
Appears in: wordpress-6.1
Hook Type: filter
Displaying hooks found in version: wordpress-6.1apply_filters('feed_links_extra_show_post_type_archive_feed') is found 1 times:
- /wp-includes/general-template.php line 3207
* @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 );