WordPress at a glance
action is not described

rest_after_insert_user action-hook . WP 5.0.0

Fires after a user is completely created or updated via the REST API.


add_action( 'rest_after_insert_user', 'action_function_name_185', 10, 3 );
function action_function_name_185( $user, $request, $creating ){
	// action...
Inserted or updated user object.
Request object.
True when creating a user, false when updating.

Where the hook is called

wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php 567
do_action( 'rest_after_insert_user', $user, $request, true );
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php 693
do_action( 'rest_after_insert_user', $user, $request, false );

Where the hook is used (in WP core)

Does not used.