acf/location/rule_operators/type=(param) хук-фильтр . ACF 5.6.0
Filters the location rule operators.
Использование
add_filter( 'acf/location/rule_operators/type=(param)', 'filter_function_name_5692', 10, 2 ); function filter_function_name_5692( $types, $rule ){ // filter... return $types; }
- $types(массив)
- The location rule operators.
- $rule
- -
Список изменений
С версии 5.6.0 | Введена. |
Где вызывается хук
acf/location/rule_operators/type=(param)
acf/includes/locations.php 192
$operators = apply_filters( "acf/location/rule_operators/type={$rule['param']}", $operators, $rule );