Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search in following user meta fields › Reply To: Search in following user meta fields
October 16, 2019 at 8:24 am
#24345
Keymaster
Interesting, I cannot seem to be able to replicate this fully. I have an idea though. Please try adding the following code to the functions.php file in your theme directory:
add_action('asp_query_args', 'asp_query_args_meta_changes');
function asp_query_args_meta_changes($args) {
$args['user_search_meta_fields_separate_subquery'] = 1;
return $args;
}
This should force a separate keyword logic for the meta queries in the user search.