edit_user_created_user

edit_user_created_user

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('edit_user_created_user') is found 1 times:

  • /wp-admin/includes/user.php line 247
    		 * @param int|WP_Error $user_id ID of the newly created user or WP_Error on failure.
    		 * @param string       $notify  Type of notification that should happen. See
    		 *                              wp_send_new_user_notifications() for more information.
    		 */
    		do_action( 'edit_user_created_user', $user_id, $notify );
    	}
    	return $user_id;
    }
    
    /**
     * Fetch a filtered list of user roles that the current user is