WordPress Hooks Explorer

Listing all hooks extracted WordPress Core

Details about wp_unique_term_slug

Back to home


Filename Hook Type Line Number PHP Doc
wp-includes/taxonomy.php apply_filters 3085 /**
* Filters the unique term slug.
* @since 4.3.0
* @param string $slug Unique term slug.
* @param object $term Term object.
* @param string $original_slug Slug originally passed to the function for testing.

Hook Parameters

Parameter Type Name Description
bool $needs_suffix Whether the slug needs to be made unique with a suffix.
string $slug The slug.
object $term Term object.