ACF_Location_Page::initialize()publicACF 5.0.0

Initializes props.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$ACF_Location_Page = new ACF_Location_Page();
$ACF_Location_Page->initialize();

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

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

Код ACF_Location_Page::initialize() ACF 6.0.4

public function initialize() {
	$this->name           = 'page';
	$this->label          = __( 'Page', 'acf' );
	$this->category       = 'page';
	$this->object_type    = 'post';
	$this->object_subtype = 'page';
}