wpseek.com
A WordPress-centric search engine for devs and theme authors



term_id_filter › WordPress Filter Hooks

Since6.1.0
Deprecatedn/a
apply_filters( 'term_id_filter', $term_id, $tt_id, $args )
Parameters: (3)
  • (int) $term_id Term ID.
    Required: Yes
  • (int) $tt_id Term taxonomy ID.
    Required: Yes
  • (array) $args Arguments passed to wp_insert_term().
    Required: Yes
Defined at:
Codex:

Filters the term ID after a new term is created.





Source

$term_id = apply_filters( 'term_id_filter', $term_id, $tt_id, $args );