A WordPress-centric search engine for devs and theme authors



wp_unique_term_slug ›

Since4.3.0
Deprecatedn/a
apply_filters( 'wp_unique_term_slug', $slug, $term, $original_slug )
Parameters: (3)
  • (string) $slug Unique term slug.
    Required: Yes
  • (object) $term Term object.
    Required: Yes
  • (string) $original_slug Slug originally passed to the function for testing.
    Required: Yes
Defined at:
Codex:

Filters the unique term slug.





Source

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