ACF_Location_Page_Type::initialize
Initializes props.
Method of the class: ACF_Location_Page_Type{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ACF_Location_Page_Type = new ACF_Location_Page_Type(); $ACF_Location_Page_Type->initialize();
Changelog
| Since 5.0.0 | Introduced. |
ACF_Location_Page_Type::initialize() ACF Location Page Type::initialize code ACF 6.0.4
public function initialize() {
$this->name = 'page_type';
$this->label = __( 'Page Type', 'acf' );
$this->category = 'page';
$this->object_type = 'post';
$this->object_subtype = 'page';
}