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)
  • () needs_suffix Whether the slug needs to be made unique with a suffix.
    Richiesto: Sì
  • () slug The slug.
    Richiesto: Sì
  • () term Term object.
    Richiesto: Sì
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 ) ) {