acf/location/rule_operators/type=(param) хук-фільтрACF 5.6.0

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

Використання не знайдено.

Залишити відповідь

Ваша e-mail адреса не оприлюднюватиметься. Обов’язкові поля позначені *