ACF_Location::get_object_type()publicACF 5.9.0

Returns the object_type connected to this location.

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

Хуков нет.

Возвращает

Строку.

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

$ACF_Location = new ACF_Location();
$ACF_Location->get_object_type( $rule );
$rule(массив) (обязательный)
A location rule.

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

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

Код ACF_Location::get_object_type() ACF 6.0.4

public function get_object_type( $rule ) {
	return $this->object_type;
}