{$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
Parameters
- $tag
(WP_Term)Current taxonomy term object.
- $taxonomy
(string)Current $taxonomy slug.
Source
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |