apply_filters( 'wp_update_term_data', array $data, int $term_id, string $taxonomy, array $args )
Filters term data before it is updated in the database.
Parameters
- $data
-
(array) Term data to be updated.
- $term_id
-
(int) Term ID.
- $taxonomy
-
(string) Taxonomy slug.
- $args
-
(array) Arguments passed to wp_update_term().
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_update_term_data