Warning: This hook has been deprecated. Use ‘{$taxonomy_edit_form_fields’} instead.
edit_category_form_fields WordPress Hook
The edit_category_form_fields hook is used to modify the fields shown when editing a category in the WordPress admin. This hook can be used to add new fields, remove existing fields, or modify the values of existing fields.
do_action_deprecated( 'edit_category_form_fields', WP_Term $tag ) #
Fires after the Edit Category form fields are displayed.
Parameters
- $tag
(WP_Term)Current category term object.
More Information
The edit_category_form_fields
action/hook can be used to perform additional actions on the edit category screen. For example, you can add form fields in order to save additional information for a particular category.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Use '{$taxonomy_edit_form_fields'} instead. |
2.9.0 | Introduced. |