ACF_Field_Group::get_settings_arraypublicACF 1.0

Gets the default settings array for an ACF field group.

Method of the class: ACF_Field_Group{}

No Hooks.

Returns

Array.

Usage

$ACF_Field_Group = new ACF_Field_Group();
$ACF_Field_Group->get_settings_array();

ACF_Field_Group::get_settings_array() code ACF 6.8.8

public function get_settings_array() {
	return array(
		'ID'                    => 0,
		'key'                   => '',
		'title'                 => '',
		'fields'                => array(),
		'location'              => array(),
		'menu_order'            => 0,
		'position'              => 'normal',
		'style'                 => 'default',
		'label_placement'       => 'top',
		'instruction_placement' => 'label',
		'hide_on_screen'        => array(),
		'active'                => true,
		'description'           => '',
		'show_in_rest'          => false,
		'display_title'         => '',
		'allow_ai_access'       => false,
		'ai_description'        => '',
	);
}