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



create_{$taxonomy} ›

Seit2.3.0
Veraltetn/v
do_action( "create_{$taxonomy}", $term_id, $tt_id )
Parameter: (2)
  • (int) $term_id Term ID.
    Erforderlich: Ja
  • (int) $tt_id Term taxonomy ID.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after a new term is created for a specific taxonomy.

The dynamic portion of the hook name, $taxonomy, refers to the slug of the taxonomy the term was created for.





Quellcode

do_action( "create_{$taxonomy}", $term_id, $tt_id );