feed_links_extra_show_tax_feed

feed_links_extra_show_tax_feed

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('feed_links_extra_show_tax_feed') is found 1 times:

  • /wp-includes/general-template.php line 3322
    3318
    3319
    3320
    3321
    3322
    3323
    3324
    3325
    3326
    3327
    3328
    * @since 6.1.0
     *
     * @param bool $show Whether to display the custom taxonomy feed link. Default true.
     */
    $show_tax_feed = apply_filters( 'feed_links_extra_show_tax_feed', true );
     
    if ( $show_tax_feed ) {
        $term = get_queried_object();
     
        if ( $term ) {
            $tax = get_taxonomy( $term->taxonomy );

See this hook used in plugins: