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)
  • (int) $term_id Term ID.
    Richiesto:
  • (int) $tt_id Term taxonomy ID.
    Richiesto:
  • (string) $taxonomy Taxonomy slug.
    Richiesto:
  • (array) $args Arguments passed to wp_insert_term().
    Richiesto:
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 );