WordPress at Your Fingertips
action is not described

edit_(taxonomy) action-hook . WP 2.3.0

Fires after a term in a specific taxonomy has been updated, but before the term cache has been cleaned.

The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.

Possible hook names include:

  • edit_category
  • edit_post_tag

Usage

add_action( 'edit_(taxonomy)', 'action_function_name_6706', 10, 2 );
function action_function_name_6706( $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

wp_update_term()
edit_(taxonomy)
wp-includes/taxonomy.php 3265
do_action( "edit_{$taxonomy}", $term_id, $tt_id );

Where in WP core the hook is used WordPress

wp-admin/edit-form-advanced.php 82
add_action( 'edit_form_after_title', '_wp_posts_page_notice' );
wp-admin/includes/meta-boxes.php 1459
add_action( 'edit_form_after_title', 'edit_form_image_editor' );
wp-includes/class-wp-embed.php 45
add_action( 'edit_form_advanced', array( $this, 'maybe_run_ajax_cache' ) );
wp-includes/class-wp-embed.php 46
add_action( 'edit_page_form', array( $this, 'maybe_run_ajax_cache' ) );
wp-includes/default-filters.php 499
add_action( 'edit_user_created_user', 'wp_send_new_user_notifications', 10, 2 );