ACF_Location_Page_Parent::initialize()publicACF 5.0.0

Initializes props.

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

Хуков нет.

Возвращает

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

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

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

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

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

Код ACF_Location_Page_Parent::initialize() ACF 6.0.4

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