ACF_Location::get_operators()public staticACF 5.9.0

Returns an array of operators for this location.

Метод класса: ACF_Location{}

Хуков нет.

Возвращает

Массив.

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

$result = ACF_Location::get_operators( $rule );
$rule(массив) (обязательный)
A location rule.

Список изменений

С версии 5.9.0 Введена.

Код ACF_Location::get_operators() ACF 6.0.4

public static function get_operators( $rule ) {
	return array(
		'==' => __( 'is equal to', 'acf' ),
		'!=' => __( 'is not equal to', 'acf' ),
	);
}