WordPress at a glance
filter is not described

pre_term_(field) filter-hook . WP 2.3.0

Filters a term field value before it is sanitized.

The dynamic portion of the filter name, $field, refers to the term field.


add_filter( 'pre_term_(field)', 'filter_function_name_5741', 10, 2 );
function filter_function_name_5741( $value, $taxonomy ){
	// filter...

	return $value;
Value of the term field.
Taxonomy slug.

Where the hook is called

wp-includes/taxonomy.php 1576
$value = apply_filters( "pre_term_{$field}", $value, $taxonomy );

Where the hook is used (in WP core)

wp-includes/default-filters.php 86
add_filter( 'pre_term_slug', 'sanitize_title' );