ACF_Location::get_object_subtype()publicACF 5.9.0

Returns the object_subtype connected to this location.

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

Хуков нет.

Возвращает

Строку|Массив.

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

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

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

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

Код ACF_Location::get_object_subtype() ACF 6.0.4

public function get_object_subtype( $rule ) {
	return $this->object_subtype;
}