Description
Filters whether the proposed unique term slug is bad.
Occurrences
Filename | Line Number |
---|---|
wp-includes/taxonomy.php | 3129 |
Parameters
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. |
PHP Doc
/**
* Filters whether the proposed unique term slug is bad.
*
* @since 4.3.0
*
* @param bool $needs_suffix Whether the slug needs to be made unique with a suffix.
* @param string $slug The slug.
* @param object $term Term object.
*/