Warning: This hook has been deprecated. Use ‘{$taxonomy_pre_add_form’} instead.
add_tag_form_pre WordPress Hook
The add_tag_form_pre hook is used to add a new tag to a post before the form is displayed. This hook is typically used to check the user's permissions or to add a new tag to the post.
do_action_deprecated( 'add_tag_form_pre', string $taxonomy ) #
Fires before the Add Tag form.
Contents
Parameters
- $taxonomy
(string)The taxonomy slug.
Source
File: wp-admin/edit-tags.php
Changelog
Version | Description |
---|---|
3.0.0 | Use '{$taxonomy_pre_add_form'} instead. |
2.5.0 | Introduced. |