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



{$taxonomy}_term_edit_form_top › WordPress动作钩子

Since4.5.0
已弃用n/a
do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy )
参数: (2)
  • (WP_Term) $tag Current taxonomy term object.
    Required: Yes
  • (string) $taxonomy Current $taxonomy slug.
    Required: Yes
定义在:
文档:

Fires at the beginning of the Edit Term form.

At this point, the required hidden fields and nonces have already been output.

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

Possible hook names include:

  • category_term_edit_form_top
  • post_tag_term_edit_form_top




源码

do_action( "{$taxonomy}_term_edit_form_top", $tag, $taxonomy );