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



user_new_form › WordPress动作钩子

Since3.7.0
已弃用n/a
do_action( 'user_new_form', 'add-existing-user' )
参数:
  • (string) $type A contextual string specifying which type of new user form the hook follows.
    Required: Yes
定义在:
文档:

Fires at the end of the new user form.

Passes a contextual string to make both types of new user forms uniquely targetable. Contexts are 'add-existing-user' (Multisite), and 'add-new-user' (single site and network admin).





源码

do_action( 'user_new_form', 'add-existing-user' );