{$taxonomy}_term_edit_form_tag
云策文档标注
概述
这是一个 WordPress 动作钩子,用于在编辑分类法术语的表单标签内触发。钩子名称是动态的,基于分类法 slug。
关键要点
- 钩子名称格式为 {$taxonomy}_term_edit_form_tag,其中 $taxonomy 是分类法 slug。
- 示例钩子包括 category_term_edit_form_tag 和 post_tag_term_edit_form_tag。
- 源调用为 do_action( "{$taxonomy}_term_edit_form_tag" )。
- 自 WordPress 3.7.0 版本引入。
原文内容
Fires inside the Edit Term form tag.
Description
The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
Possible hook names include:
category_term_edit_form_tagpost_tag_term_edit_form_tag
Source
do_action( "{$taxonomy}_term_edit_form_tag" );
Changelog
| Version | Description |
|---|---|
| 3.7.0 | Introduced. |