do_action( 'edited_terms', int $term_id, string $taxonomy )
Fires immediately after a term is updated in the database, but before its term-taxonomy relationship is updated.
Parameters
- $term_id
-
(int) Term ID
- $taxonomy
-
(string) Taxonomy slug.
More Information
The edited_terms
action is used to hook into code after a term is updated in the database.
A plugin (or theme) can register an action hook from the example below.
Source
File: wp-includes/taxonomy.php
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/edited_terms