ACF_Location::get_object_type
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 Location::get object type ACF 6.4.2
public function get_object_type( $rule ) {
return $this->object_type;
}