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
Parameters
-
$tag
WP_Term -
Current taxonomy term object.
-
$taxonomy
string -
Current $taxonomy slug.
Source
File: wp-admin/edit-tag-form.php
.
View all references
do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy );
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |