edited_terms
This action is documented in wp-includes/taxonomy.php.
Description
Parameters (2)
- 0. $term_id (unknown)
- The term id.
- 1. $taxonomy (unknown)
- The taxonomy.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'edited_terms', $term_id, $taxonomy );
- The following example is for adding a hook callback.
- // define the edited_terms callback
- function action_edited_terms( $term_id, $taxonomy ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'edited_terms', 'action_edited_terms', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'edited_terms', 'action_edited_terms', 10, 2 );
Defined (2)
The action is defined in the following location(s).
- /wp-includes/taxonomy.php
- do_action( 'edited_terms', $term_id, $taxonomy );
- do_action( 'edited_terms', $term_id, $taxonomy );