Description
Fires immediately after a user is created or updated via the REST API.
Occurrences
Filename | Line Number |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php | 631 |
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php | 786 |
Parameters
Type | Name | Description |
---|---|---|
WP_User | $user | Inserted or updated user object. |
WP_REST_Request | $request | Request object. |
bool | $creating | True when creating a user, false when updating. |
PHP Doc
/**
* Fires immediately after a user is created or updated via the REST API.
*
* @since 4.7.0
*
* @param WP_User $user Inserted or updated user object.
* @param WP_REST_Request $request Request object.
* @param bool $creating True when creating a user, false when updating.
*/