edited_term_taxonomy
Fires immediately after a term-taxonomy relationship is updated.
Description
Parameters (2)
- 0. $tt_id (int)
- Term taxonomy ID.
- 1. $taxonomy (string)
- Taxonomy slug.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'edited_term_taxonomy', $tt_id, $taxonomy );
- The following example is for adding a hook callback.
- // define the edited_term_taxonomy callback
- function action_edited_term_taxonomy( $tt_id, $taxonomy ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'edited_term_taxonomy', 'action_edited_term_taxonomy', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'edited_term_taxonomy', 'action_edited_term_taxonomy', 10, 2 );
Defined (3)
The action is defined in the following location(s).
- /wp-includes/taxonomy.php
- do_action( 'edited_term_taxonomy', $tt_id, $taxonomy );
- do_action( 'edited_term_taxonomy', $term, $taxonomy->name );
- do_action( 'edited_term_taxonomy', $term, $taxonomy->name );