network_site_users_created_user action-hookWP 4.4.0

Fires after a user has been created via the network site-users.php page.


add_action( 'network_site_users_created_user', 'wp_kama_network_site_users_created_user_action' );

 * Function for `network_site_users_created_user` action-hook.
 * @param int $user_id ID of the newly created user.
 * @return void
function wp_kama_network_site_users_created_user_action( $user_id ){

	// action...
ID of the newly created user.


Since 4.4.0 Introduced.

Where the hook is called

In file: /wp-admin/network/site-users.php
wp-admin/network/site-users.php 88
do_action( 'network_site_users_created_user', $user_id );

Where the hook is used in WordPress

wp-includes/ms-default-filters.php 31
add_action( 'network_site_users_created_user', 'wp_send_new_user_notifications' );