wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



created_{$taxonomy} › WordPress Action Hooks

Da6.1.0
Deprecaton/a
do_action( "created_{$taxonomy}", $term_id, $tt_id, $args )
Parametri: (3)
  • (int) $term_id Term ID.
    Richiesto:
  • (int) $tt_id Term taxonomy ID.
    Richiesto:
  • (array) $args Arguments passed to wp_insert_term().
    Richiesto:
Definito a:
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




Sorgenti

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