wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



create_{$taxonomy} › Działania WordPress Hooks

Od6.1.0
Przestarzałyn/a
do_action( "create_{$taxonomy}", $term_id, $tt_id, $args )
Parametry: (3)
  • (int) $term_id Term ID.
    Wymagane: Tak
  • (int) $tt_id Term taxonomy ID.
    Wymagane: Tak
  • (array) $args Arguments passed to wp_insert_term().
    Wymagane: Tak
Zdefiniowane na:
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




Źródło

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