get_$taxonomy

get_$taxonomy

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('get_$taxonomy') is found 1 times:

  • /wp-includes/taxonomy.php line 1040
    	 *
    	 * @param WP_Term $_term    Term object.
    	 * @param string  $taxonomy The taxonomy slug.
    	 */
    	$_term = apply_filters( "get_{$taxonomy}", $_term, $taxonomy );
    
    	// Bail if a filter callback has changed the type of the `$_term` object.
    	if ( ! ( $_term instanceof WP_Term ) ) {
    		return $_term;
    	}