WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about term_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/taxonomy.php apply_filters 1790 /**
* Filters the term field for use in RSS.
*
* The dynamic portion of the hook name, `$field`, refers to the term field.
*
* @since 2.3.0
*
* @param mixed $value Value of the term field.
* @param string $taxonomy Taxonomy slug.
*/
wp-includes/taxonomy.php apply_filters 1818 /**
* Filters the term field sanitized for display.
*
* The dynamic portion of the hook name, `$field`, refers to the term field name.
*
* @since 2.3.0
*
* @param mixed $value Value of the term field.
* @param int $term_id Term ID.
* @param string $taxonomy Taxonomy slug.
* @param string $context Context to retrieve the term field value.
*/

Hook Parameters

Parameter Type Name Description
array $defaults An array of arguments passed to get_terms().
int|string $term The term to check. Accepts term ID, slug, or name.
string $taxonomy The taxonomy name to use. An empty string indicates
int|null $parent ID of parent term under which to confine the exists search.
array $defaults An array of arguments passed to get_terms().
int|string $term The term to check. Accepts term ID, slug, or name.
string $taxonomy The taxonomy name to use. An empty string indicates
int|null $parent ID of parent term under which to confine the exists search.