wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



create_term › Les Actions WordPress

Depuis6.1.0
Dépréciéen/a
do_action( 'create_term', $term_id, $tt_id, $taxonomy, $args )
Paramètres: (4)
  • (int) $term_id Term ID.
    Requis: Oui
  • (int) $tt_id Term taxonomy ID.
    Requis: Oui
  • (string) $taxonomy Taxonomy slug.
    Requis: Oui
  • (array) $args Arguments passed to wp_insert_term().
    Requis: Oui
Défini(e) dans:
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.





Source

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