A WordPress-centric search engine for devs and theme authors



user_new_form ›

Since3.7.0
Deprecatedn/a
do_action( 'user_new_form', 'add-existing-user' )
Parameters:
  • (string) $type A contextual string specifying which type of new user form the hook follows.
    Required: Yes
Defined at:
Codex:

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).





Source

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