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



created_{$taxonomy} › WordPress Action Hooks

Seit6.1.0
Veraltetn/v
do_action( "created_{$taxonomy}", $term_id, $tt_id, $args )
Parameter: (3)
  • () term_id Term ID.
    Erforderlich: Ja
  • () tt_id Term taxonomy ID.
    Erforderlich: Ja
  • () args Arguments passed to wp_insert_term().
    Erforderlich: Ja
Definiert in:
Codex:

Fires after a new term in a specific taxonomy is created, and after the term cache has been cleaned.

The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include: - `created_category` - `created_post_tag`




Quellcode

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