Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_unique_term_slug ›

Desde4.3.0
Obsoleton/a
apply_filters( 'wp_unique_term_slug', $slug, $term, $original_slug )
Parâmetros: (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
Definido em:
Codex:

Filters the unique term slug.





Fonte

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