{$taxonomy}_term_edit_form_top WordPress Action Hook

The {$taxonomy}_term_edit_form_top action hook is called before the start of a taxonomy term edit form. This can be used to add additional fields to the form or to modify the default fields.

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

Fires at the beginning of the Edit Term form.


Description

At this point, the required hidden fields and nonces have already been output.

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

Possible hook names include:

  • category_term_edit_form_top
  • post_tag_term_edit_form_top

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
4.5.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.