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.


Parameters

$taxonomy

(string)The taxonomy slug.


Top ↑

Source

File: wp-admin/edit-tags.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.0.0Use '{$taxonomy_pre_add_form'} instead.
2.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.