do_action_deprecated( 'edit_tag_form_pre', array
( $tag ), '3.0.0', '{$taxonomy}_pre_edit_form'
);
}/**
* Use with caution, see https://developer.wordpress.org/reference/functions/wp_reset_vars/
*/
wp_reset_vars( array
( 'wp_http_referer'
) );
$wp_http_referer =
remove_query_arg( array
( 'action', 'message', 'tag_ID'
),
$wp_http_referer );
// Also used by Edit Tags.
require_once ABSPATH . 'wp-admin/includes/edit-tag-messages.php';
/**
* Fires before the Edit Term form for all taxonomies.
*
* The dynamic portion of the hook name, `$taxonomy`, refers to
* the taxonomy slug.
*
* Possible hook names include:
*
* - `category_pre_edit_form`
* - `post_tag_pre_edit_form`
*
* @since 3.0.0
*
* @param WP_Term $tag Current taxonomy term object.
* @param string $taxonomy Current $taxonomy slug.
*/