acf/location/rule_operators/type=(param)
Filters location rule операторів.
Використання
add_filter( 'acf/location/rule_operators/type=(param)', 'wp_kama_acf_location_rule_operators_type_param_filter', 10, 2); /** * Function for `acf/location/rule_operators/type=(param)` filter-hook. * * @param array $types The location rule operators. * @param $rule * * @return array */ function wp_kama_acf_location_rule_operators_type_param_filter( $types, $rule ){ // Filter... return $types; }
-
$types
(масив) - location rule operators.
- $rule
- –
список змін
З версії 5.6.0 | Введено. |
Де викликається хук
acf/location/rule_operators/type=(param)
Де використовується хук в Advanced Custom Fields
Використання не знайдено.