Filters whether the proposed unique term slug is bad.
Parameters
$needs_suffix
bool- Whether the slug needs to be made unique with a suffix.
$slug
string- The slug.
$term
object- Term object.
Source
// If we didn't get a unique slug, try appending a number to make it unique.
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.