Filter hook 'get_term'

in WP Core File wp-includes/taxonomy.php at line 1021

Description

Filters a taxonomy term object. The {@see 'get_$taxonomy'} hook is also available for targeting a specific taxonomy.

Occurrences

Filename Line Number
wp-includes/taxonomy.php 1021

Parameters

Type Name Description
WP_Term $_term Term object.
string $taxonomy The taxonomy slug.

PHP Doc

/**
	 * Filters a taxonomy term object.
	 *
	 * The {@see 'get_$taxonomy'} hook is also available for targeting a specific
	 * taxonomy.
	 *
	 * @since 2.3.0
	 * @since 4.4.0 `$_term` is now a `WP_Term` object.
	 *
	 * @param WP_Term $_term    Term object.
	 * @param string  $taxonomy The taxonomy slug.
	 */