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



create_{$taxonomy} › WordPress Action Hooks

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




Sorgenti

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