edited_(taxonomy) action-hook . WP 2.3.0
Fires after a term for a specific taxonomy has been updated, and the term cache has been cleaned.
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
Usage
add_action( 'edited_(taxonomy)', 'action_function_name_3716', 10, 2 ); function action_function_name_3716( $term_id, $tt_id ){ // action... }
- $term_id(int)
- Term ID.
- $tt_id(int)
- Term taxonomy ID.
Changelog
Since 2.3.0 | Introduced. |
Where the hook is called
edited_(taxonomy)
wp-includes/taxonomy.php 3200
do_action( "edited_{$taxonomy}", $term_id, $tt_id );