pre_term_{$field}

pre_term_{$field}

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('pre_term_{$field}') is found 1 times:

  • /wp-includes/taxonomy.php line 1790
    		 *
    		 * @param mixed  $value    Value of the term field.
    		 * @param string $taxonomy Taxonomy slug.
    		 */
    		$value = apply_filters( "pre_term_{$field}", $value, $taxonomy );
    
    		/**
    		 * Filters a taxonomy field before it is sanitized.
    		 *
    		 * The dynamic portions of the filter name, `$taxonomy` and `$field`, refer
    		 * to the taxonomy slug and field name, respectively.