A WordPress-centric search engine for devs and theme authors



wp_insert_term_data ›

Since4.7.0
Deprecatedn/a
apply_filters( 'wp_insert_term_data', $data, $taxonomy, $args )
Parameters: (3)
  • (array) $data Term data to be inserted.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
  • (array) $args Arguments passed to wp_insert_term().
    Required: Yes
Defined at:
Codex:

Filters term data before it is inserted into the database.





Source

$data = apply_filters( 'wp_insert_term_data', $data, $taxonomy, $args );