I have a situation where i have a relation field. In that field i have set a post type “tribe_events” from The Events Calendar plugin.
When i try to search for passed/published posts i get no results.
Can this be related to ACF?
Here is a little fix,
function alter_tribe_status( $args, $field, $post ){
$args[‘suppress_filters’] = 1;
return $args;
}
// filter for a specific field based on it’s key
add_filter(‘acf/fields/relationship/query/key=field_XXXXXXXXXX’, ‘alter_tribe_status’, 10, 3);
Listing is ok, search not fully operational.