Hi,
To hide the age you should have something like this in sweetdate-child/functions.php:
COPY CODE
add_action('after_setup_theme','kleo_remove_actions');
/**
* Override existing actions
* Use these functions to replace/remove existing actions
* @since Sweetdate 1.3
*/
function kleo_remove_actions()
{
add_filter('kleo_bp_meta_fields','my_remove_age');
/* For example uncomment the line bellow to disable matching on member profile */
//remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match');
}
function my_remove_age($output) {
//remove the Age form array
unset($output['age']);
return $output;
}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution