{$taxonomy}_add_form WordPress Action Hook
The {$taxonomy}_add_form hook is used to add a new term to a taxonomy. This hook is used when a user creates a new term via the taxonomy's Add New form.
do_action( "{$taxonomy}_add_form", string $taxonomy ) #
Fires at the end of the Add Term form for all taxonomies.
Description
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
Possible hook names include:
category_add_formpost_tag_add_form
Parameters
- $taxonomy
(string)The taxonomy slug.
Source
File: wp-admin/edit-tags.php
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |