wpseek.com
A WordPress-centric search engine for devs and theme authors
_get_additional_user_keys is private and should not be used in themes or plugins directly.
_get_additional_user_keys › WordPress Function
Since3.3.0
Deprecatedn/a
› _get_additional_user_keys ( $user )
Access: |
|
Parameters: |
|
Returns: |
|
Defined at: |
|
Codex: |
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.Related Functions: get_editable_user_ids, wp_get_additional_image_sizes, get_edit_user_link, get_author_user_ids, get_editable_roles
Source
function _get_additional_user_keys( $user ) { $keys = array( 'first_name', 'last_name', 'nickname', 'description', 'rich_editing', 'syntax_highlighting', 'comment_shortcuts', 'admin_color', 'use_ssl', 'show_admin_bar_front', 'locale' ); return array_merge( $keys, array_keys( wp_get_user_contact_methods( $user ) ) ); }