Function: _get_additional_user_keys

_get_additional_user_keys( WP_User $user )

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.

Parameters

Name Type(s) Default Value Description
$user WP_User

WP_User instance.

Returns

array

List of user keys to be populated in wp_update_user().

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.