{$taxonomy}_add_form_fields

动作钩子


do_action( "{$taxonomy}_add_form_fields", $taxonomy )
参数
  • (string)
    $taxonomy
    The taxonomy slug.
    Required:
定义位置
  • wp-admin/edit-tags.php
    , line 542
引入
3.0.0
弃用

Fires after the Add Term form fields.

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

Possible hook names include:

  • category_add_form_fields
  • post_tag_add_form_fields
do_action( "{$taxonomy}_add_form_fields", $taxonomy );