WordPress at a glance
filter is not described

wp_unique_term_slug_is_bad_slug filter-hook . WP 4.3.0

Filters whether the proposed unique term slug is bad.


add_filter( 'wp_unique_term_slug_is_bad_slug', 'filter_function_name_7877', 10, 3 );
function filter_function_name_7877( $needs_suffix, $slug, $term ){
	// filter...

	return $needs_suffix;
Whether the slug needs to be made unique with a suffix.
The slug.
Term object.

Where the hook is called

wp-includes/taxonomy.php 2543
if ( apply_filters( 'wp_unique_term_slug_is_bad_slug', $needs_suffix, $slug, $term ) ) {

Where the hook is used (in WP core)

Does not used.