In ACF PRO 5.6.0 the custom rule_match filter is not working anymore. Even when i always pass a true in the ‘custom_rule_match’ filter function. ACF still thinks it’s false. If i switch back to ACF PRO 5.5.14 the filter is working perfectly.
add_filter( ‘acf/location/rule_match/page’, ‘custom_rule_match’, 10, 3);