apply_filters( 'wp_unique_term_slug', string $slug, object $term, string $original_slug )

Filters the unique term slug.


Parameters

$slug

Unique term slug.

$term

Term object.

$original_slug

Slug originally passed to the function for testing.


Source

File: wp-includes/taxonomy.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.3.0 Introduced.