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



create_{$taxonomy} › WordPress Action Hooks

Seit6.1.0
Veraltetn/v
do_action( "create_{$taxonomy}", $term_id, $tt_id, $args )
Parameter: (3)
  • (int) $term_id Term ID.
    Erforderlich: Ja
  • (int) $tt_id Term taxonomy ID.
    Erforderlich: Ja
  • (array) $args Arguments passed to wp_insert_term().
    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.

Possible hook names include:

  • create_category
  • create_post_tag




Quellcode

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