_get_additional_user_keys

Advertisement

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.

Summery Summery

Returns a list of meta keys to be (maybe) populated in wp_update_user().

Syntax Syntax

_get_additional_user_keys( WP_User $user )

Description Description

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 Parameters

$user

(Required) WP_User instance.

Return Return

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

Source Source

File: wp-includes/user.php

	$userdata = compact( 'user_login', 'user_email', 'user_pass' );
	return wp_insert_user( $userdata );
}

Advertisement

Changelog Changelog

Changelog
Version Description
3.3.0 Introduced.

Advertisement

Leave a Reply