{$taxonomy}_add_form_fields WordPress Action Hook
The {$taxonomy}_add_form_fields hook is used to add new fields to the add form for a given taxonomy. This hook is called once for each field that is added. The new fields can be used to add data to the taxonomy term that is being created.
do_action( "{$taxonomy}_add_form_fields", string $taxonomy ) #
Fires after the Add Term form fields.
Description
The dynamic portion of the hook name, $taxonomy
, refers to the taxonomy slug.
Possible hook names include:
category_add_form_fields
post_tag_add_form_fields
Parameters
- $taxonomy
(string)The taxonomy slug.
Source
File: wp-admin/edit-tags.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |