This filter hook allows you to change the primary data of user. The default user primary data are email, url, display_name.
If you want to remove any from default or add new field, this hook will allow you to change the fields.
add_filter( 'ualp_user_primary_array', 'my_primary_array' ); function my_primary_array( $get_dafault_user_key_array ) { // remove user_url from log if (($key = array_search('user_url', $get_dafault_user_key_array)) !== false) { unset($get_dafault_user_key_array[$key]); } //return array return $get_dafault_user_key_array; }