WordPress at Your Fingertips
filter is not described

wp_unique_term_slug filter-hook . WP 4.3.0

Filters the unique term slug.


add_filter( 'wp_unique_term_slug', 'filter_function_name_5238', 10, 3 );
function filter_function_name_5238( $slug, $term, $original_slug ){
	// filter...

	return $slug;
Unique term slug.
Term object.
Slug originally passed to the function for testing.

Where the hook is called

wp-includes/taxonomy.php 3009
return apply_filters( 'wp_unique_term_slug', $slug, $term, $original_slug );

Where in WP core the hook is used WordPress

Usage not found.