acf/location/rule_operators
Usage
add_filter( 'acf/location/rule_operators', 'wp_kama_acf_location_rule_operators_filter', 10, 2 );
/**
* Function for `acf/location/rule_operators` filter-hook.
*
* @param $operators
* @param $rule
*
* @return
*/
function wp_kama_acf_location_rule_operators_filter( $operators, $rule ){
// filter...
return $operators;
}
- $operators
- -
- $rule
- -
Where the hook is called
acf/location/rule_operators
acf/includes/locations.php 210
$operators = apply_filters( 'acf/location/rule_operators', $operators, $rule );