ACF_Location_Block::initialize
Initializes props.
Method of the class: ACF_Location_Block{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ACF_Location_Block = new ACF_Location_Block(); $ACF_Location_Block->initialize();
Changelog
| Since 5.0.0 | Introduced. |
ACF_Location_Block::initialize() ACF Location Block::initialize code ACF 6.8.8
public function initialize() {
$this->name = 'block';
$this->label = __( 'Block', 'acf' );
$this->category = 'forms';
$this->object_type = 'block';
add_filter( 'acf/field_group/list_table_classes', array( $this, 'field_group_list_table_classes' ), 10, 3 );
}