do_action( "{$taxonomy}_edit_form_fields", WP_Term $tag , string $taxonomy )
Fires after the Edit Term form fields are displayed.
Description Description
The dynamic portion of the hook name, $taxonomy
, refers to the taxonomy slug.
Parameters Parameters
- $tag
-
(WP_Term) Current taxonomy term object.
- $taxonomy
-
(string) Current taxonomy slug.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Adding custom meta fields to a taxonomy.
Note that in this example name of the input is set to be an array. If the field name was not an array, then you’d have to save each field individually.
Expand full source codeCollapse full source code