do_action( 'edit_terms', int $term_id , string $taxonomy )
Fires immediately before the given terms are edited.
Parameters Parameters
- $term_id
-
(int) Term ID.
- $taxonomy
-
(string) Taxonomy slug.
More Information More Information
The edit_terms
action is used to hook into code before a term is updated in the database.
A plugin (or theme) can register an action hook from the example below.
Source Source
File: wp-includes/taxonomy.php
Changelog Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
An example