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



created_term › WordPress Action Hooks

Seit6.1.0
Veraltetn/v
do_action( 'created_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 after a new term is created, and after the term cache has been cleaned.

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





Quellcode

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