wpseek.com
WordPress开发者和主题制作者的搜索引擎



{$taxonomy}_pre_add_form › WordPress动作钩子

Since3.0.0
已弃用n/a
do_action( "{$taxonomy}_pre_add_form", $taxonomy )
参数:
  • (string) $taxonomy The taxonomy slug.
    Required: Yes
定义在:
文档:

Fires before the Add Term form for all taxonomies.

The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.

Possible hook names include:

  • category_pre_add_form
  • post_tag_pre_add_form




源码

do_action( "{$taxonomy}_pre_add_form", $taxonomy );