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.
Contents
Parameters
- $arg
(object)arguments cast to an object.
Source
File: wp-admin/edit-tags.php
Changelog
Version | Description |
---|---|
3.0.0 | Use '{$taxonomy_pre_add_form'} instead. |
2.1.0 | Introduced. |