wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_unique_term_slug_is_bad_slug › WordPress Filter Hooks

Da4.3.0
Deprecaton/a
apply_filters( 'wp_unique_term_slug_is_bad_slug', $needs_suffix, $slug, $term )
Parametri: (3)
  • (bool) $needs_suffix Whether the slug needs to be made unique with a suffix.
    Richiesto:
  • (string) $slug The slug.
    Richiesto:
  • (object) $term Term object.
    Richiesto:
Definito a:
Codex:

Filters whether the proposed unique term slug is bad.





Sorgenti

if ( apply_filters( 'wp_unique_term_slug_is_bad_slug', $needs_suffix, $slug, $term ) ) {