{$taxonomy}_edit_form WordPress Action Hook
The {$taxonomy}_edit_form hook is fired when the taxonomy edit form is displayed. This hook can be used to add custom fields to the taxonomy edit form or to modify the default fields.
do_action( "{$taxonomy}_edit_form", WP_Term $tag , string $taxonomy ) #
Fires at the end of the Edit Term form for all taxonomies.
Description
The dynamic portion of the hook name, $taxonomy
, refers to the taxonomy slug.
Possible hook names include:
category_edit_form
post_tag_edit_form
Parameters
- $tag
(WP_Term)Current taxonomy term object.
- $taxonomy
(string)Current taxonomy slug.
Source
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |