Used By
Used By | Description |
---|---|
wp-includes/user.php: wp_insert_user() | Insert a user into the database. |
Filters a user’s meta values and keys immediately after the user is created or updated and before any user meta is inserted or updated.
Does not include contact methods. These are added using wp_get_user_contact_methods( $user )
.
(array) Default meta values and keys for the user.
(string) The user's nickname. Default is the user's username.
(string) The user's first name.
(string) The user's last name.
(string) The user's description.
(string) Whether to enable the rich-editor for the user. Default 'true'.
(string) Whether to enable the rich code editor for the user. Default 'true'.
(string) Whether to enable keyboard shortcuts for the user. Default 'false'.
(string) The color scheme for a user's admin screen. Default 'fresh'.
(int|bool) Whether to force SSL on the user's admin area. 0|false if SSL is not forced.
(string) Whether to show the admin bar on the front end for the user. Default 'true'.
(string) User's locale. Default empty.
(WP_User) User object.
(bool) Whether the user is being updated rather than created.
File: wp-includes/user.php
Version | Description |
---|---|
4.4.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/insert_user_meta