do_action( 'edit_user_created_user', int|WP_Error $user_id, string $notify )

Fires after a new user has been created.


Parameters

$user_id

(int|WP_Error) ID of the newly created user or WP_Error on failure.

$notify

(string) Type of notification that should happen. See wp_send_new_user_notifications() for more information.


Top ↑

Source

File: wp-admin/includes/user.php

View on Trac



Top ↑

Changelog

Changelog
Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.