apply_filters( ‘wp_unique_term_slug’, string $slug, object $term, string $original_slug )

In this article

Filters the unique term slug.

Parameters

$slugstring
Unique term slug.
$termobject
Term object.
$original_slugstring
Slug originally passed to the function for testing.

Source

return apply_filters( 'wp_unique_term_slug', $slug, $term, $original_slug );

Changelog

VersionDescription
4.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.