Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




_get_additional_user_keys [ WordPress Function ]

_get_additional_user_keys ( $user )
Access:
  • private
Parameters:
  • (object) $user WP_User instance
Returns:
  • (array)
Defined at:



Return a list of meta keys that wp_insert_user() is supposed to set.

Source


<?php
function _get_additional_user_keys$user ) {
    
$keys = array( 'first_name''last_name''nickname''description''rich_editing''comment_shortcuts''admin_color''use_ssl''show_admin_bar_front' );
    return 
array_merge$keysarray_keys_wp_get_user_contactmethods$user ) ) );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics