taxonomy_labels_(taxonomy) filter-hookWP 4.4.0

Filters the labels of a specific taxonomy.

The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.

Possible hook names include:

Usage

add_filter( 'taxonomy_labels_(taxonomy)', 'wp_kama_taxonomy_labels_filter' );

/**
 * Function for `taxonomy_labels_(taxonomy)` filter-hook.
 * 
 * @param object $labels Object with labels for the taxonomy as member variables.
 *
 * @return object
 */
function wp_kama_taxonomy_labels_filter( $labels ){

	// filter...
	return $labels;
}
$labels(object)
Object with labels for the taxonomy as member variables.

Changelog

Since 4.4.0 Introduced.

Where the hook is called

get_taxonomy_labels()
taxonomy_labels_(taxonomy)
wp-includes/taxonomy.php 708
$labels = apply_filters( "taxonomy_labels_{$taxonomy}", $labels );

Where the hook is used in WordPress

Usage not found.