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