Used By
Used By | Description |
---|---|
wp-includes/user.php: wp_insert_user() | Insert a user into the database. |
Filters user data before the record is created or updated.
It only includes data in the wp_users table wp_user, not any user metadata.
(array) Values and keys for the user.
(string) The user's login. Only included if $update == false
(string) The user's password.
(string) The user's email.
(string) The user's url.
(string) The user's nice name. Defaults to a URL-safe version of user's login
(string) The user's display name.
(string) MySQL timestamp describing the moment when the user registered. Defaults to the current UTC timestamp.
(bool) Whether the user is being updated rather than created.
(int|null) ID of the user to be updated, or NULL if the user is being created.
File: wp-includes/user.php
Version | Description |
---|---|
4.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_pre_insert_user_data