wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



create_term › WordPress Action Hooks

Seit6.1.0
Veraltetn/v
do_action( 'create_term', $term_id, $tt_id, $taxonomy, $args )
Parameter: (4)
  • (int) $term_id Term ID.
    Erforderlich: Ja
  • (int) $tt_id Term taxonomy ID.
    Erforderlich: Ja
  • (string) $taxonomy Taxonomy slug.
    Erforderlich: Ja
  • (array) $args Arguments passed to wp_insert_term().
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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