Private Access Private Access
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Returns a list of meta keys to be (maybe) populated in wp_update_user().
The list of keys returned via this function are dependent on the presence of those keys in the user meta data to be set.
(WP_User) (Required) WP_User instance.
(string) List of user keys to be populated in wp_update_user().
$userdata = compact( 'user_login', 'user_email', 'user_pass' ); return wp_insert_user( $userdata ); }