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



wp_update_term_data › WordPress Filter Hooks

Since4.7.0
Deprecatedn/a
apply_filters( 'wp_update_term_data', $data, $term_id, $taxonomy, $args )
Parameters: (4)
  • (array) $data Term data to be updated.
    Required: Yes
  • (int) $term_id Term ID.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
  • (array) $args Arguments passed to wp_update_term().
    Required: Yes
Defined at:
Codex:

Filters term data before it is updated in the database.





Source

$data = apply_filters( 'wp_update_term_data', $data, $term_id, $taxonomy, $args );