user_new_form action-hook . WP 3.7.0
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).
Usage
add_action( 'user_new_form', 'action_function_name_9710' ); function action_function_name_9710( $type ){ // action... }
- $type(string)
- A contextual string specifying which type of new user form the hook follows.
Changelog
Since 3.7.0 | Introduced. |
Where the hook is called
In file: /wp-admin/user-new.php
user_new_form
wp-admin/user-new.php 470
do_action( 'user_new_form', 'add-existing-user' );
wp-admin/user-new.php 628
do_action( 'user_new_form', 'add-new-user' );