do_action( “{$taxonomy}_term_edit_form_top”, WP_Term $tag, string $taxonomy )

In this article

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

Parameters

$tagWP_Term
Current taxonomy term object.
$taxonomystring
Current $taxonomy slug.

Source

do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy );

Changelog

VersionDescription
4.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.