acf/location/rule_operators хук-фильтрACF 1.0

Использование

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
-

Где вызывается хук

acf_get_location_rule_operators()
acf/location/rule_operators
acf/includes/locations.php 199
$operators = apply_filters( 'acf/location/rule_operators', $operators, $rule );

Где используется хук в Advanced Custom Fields PRO

Использование не найдено.