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



created_term › Działania WordPress Hooks

Od6.1.0
Przestarzałyn/a
do_action( 'created_term', $term_id, $tt_id, $taxonomy, $args )
Parametry: (4)
  • (int) $term_id Term ID.
    Wymagane: Tak
  • (int) $tt_id Term taxonomy ID.
    Wymagane: Tak
  • (string) $taxonomy Taxonomy slug.
    Wymagane: Tak
  • (array) $args Arguments passed to wp_insert_term().
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires after a new term is created, and after the term cache has been cleaned.

The {@see 'created_$taxonomy'} hook is also available for targeting a specific taxonomy.





Źródło

do_action( 'created_term', $term_id, $tt_id, $taxonomy, $args );