A WordPress-centric search engine for devs and theme authors



create_term ›

Since2.3.0
Deprecatedn/a
do_action( 'create_term', $term_id, $tt_id, $taxonomy )
Parameters: (3)
  • (int) $term_id Term ID.
    Required: Yes
  • (int) $tt_id Term taxonomy ID.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
Defined at:
Codex:

Fires immediately after a new term is created, before the term cache is cleaned.





Source

do_action( 'create_term', $term_id, $tt_id, $taxonomy );