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



created_{$taxonomy} › Działania WordPress Hooks

Od6.1.0
Przestarzałyn/a
do_action( "created_{$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 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




Źródło

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