acf/location/rule_types хук-фильтр . ACF 5.9.0
Filters the location rule types.
Использование
add_filter( 'acf/location/rule_types', 'filter_function_name_2708' ); function filter_function_name_2708( $types ){ // filter... return $types; }
- $types(массив)
- The location rule types.
Список изменений
С версии 5.9.0 | Введена. |
Где вызывается хук
acf/location/rule_types
acf/includes/locations.php 130
return apply_filters( 'acf/location/rule_types', $types );