{$taxonomy}_edit_form_fields WordPress Action Hook

The {$taxonomy}_edit_form_fields hook allows you to modify the fields shown when editing a taxonomy term. This can be useful for adding or removing fields, or for changing the order in which fields are displayed.

do_action( "{$taxonomy}_edit_form_fields", WP_Term $tag, string $taxonomy ) #

Fires after the Edit Term form fields are displayed.


Description

The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.

Possible hook names include:

  • category_edit_form_fields
  • post_tag_edit_form_fields

Top ↑

Parameters

$tag

(WP_Term)Current taxonomy term object.

$taxonomy

(string)Current taxonomy slug.


Top ↑

Source

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

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.0.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.