Warning: This hook has been deprecated. Use ‘{$taxonomy_pre_add_form’} instead.

add_category_form_pre WordPress Hook

The add_category_form_pre hook is used to pre-process the category form before it is displayed. This hook can be used to add custom fields to the category form or to validate the category data before it is saved.

do_action_deprecated( 'add_category_form_pre', object $arg ) #

Fires before the Add Category form.


Parameters

$arg

(object)arguments cast to an object.


Top ↑

Source

File: wp-admin/edit-tags.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.0.0Use '{$taxonomy_pre_add_form'} instead.
2.1.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.