term_links-$taxonomy

term_links-$taxonomy

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('term_links-$taxonomy') is found 1 times:

  • /wp-includes/category-template.php line 1375
    	 * @since 2.5.0
    	 *
    	 * @param string[] $links An array of term links.
    	 */
    	$term_links = apply_filters( "term_links-{$taxonomy}", $links );  // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    
    	return $before . implode( $sep, $term_links ) . $after;
    }
    
    /**
     * Retrieves term parents with separator.