If you want to remove the description field, for instance, you can simply remove it from the array:
function remove_some_profile_fields($fields) { unset($fields['description']); return $fields; } add_filter('cuar/core/user-profile/get_profile_fields', 'remove_some_profile_fields');
Finding the IDs of the profile fields:
- open Chrome and its page inspector
CTRL + SHIFT + I
- select the field you want to identify
CTRL + SHIFT + C
- look for a class that looks like
cuar-field-id-{identifier}
where{identifier}
is the ID of your field - Finding profile fields IDs on Chrome