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



create_term › WordPress Action Hooks

Da6.1.0
Deprecaton/a
› do_action( 'create_term', $term_id, $tt_id, $taxonomy, $args )
Parametri: (4)
  • () term_id Term ID.
    Richiesto: Sì
  • () tt_id Term taxonomy ID.
    Richiesto: Sì
  • () taxonomy Taxonomy slug.
    Richiesto: Sì
  • () args Arguments passed to wp_insert_term().
    Richiesto: Sì
Definito a:
Codex:

Fires immediately after a new term is created, before the term cache is cleaned.

The {@see 'create_$taxonomy'} hook is also available for targeting a specific taxonomy.




Sorgenti

do_action( 'create_term', $term_id, $tt_id, $taxonomy, $args );