Uma área de pesquisa sobre o WordPress para devs e autores do tema



user_new_form ›

Desde3.7.0
Obsoleton/a
do_action( 'user_new_form', 'add-existing-user' )
Parâmetros:
  • (string) $type A contextual string specifying which type of new user form the hook follows.
    Required: Yes
Definido em:
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).





Fonte

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