taxonomy_labels_post_tag filter-hookWP 4.4.0

Filters the labels of a specific taxonomy.

This is one of the variants of the dynamic hook taxonomy_labels_(taxonomy)

Usage

add_filter( 'taxonomy_labels_post_tag', 'wp_kama_taxonomy_labels_post_tag_filter' );

/**
 * Function for `taxonomy_labels_post_tag` filter-hook.
 * 
 * @param object $labels Object with labels for the taxonomy as member variables.
 *
 * @return object
 */
function wp_kama_taxonomy_labels_post_tag_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_post_tag
wp-includes/taxonomy.php 708
$labels = apply_filters( "taxonomy_labels_{$taxonomy}", $labels );

Where the hook is used in WordPress

Usage not found.