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.


Top ↑

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.


Top ↑

Source

File: wp-admin/edit-tag-form.php

View on Trac


Top ↑

Changelog

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