ACF_UI_Options_Page::get_settings_arraypublicACF 1.0

Gets the default settings array for an ACF options page.

Method of the class: ACF_UI_Options_Page{}

No Hooks.

Returns

Array.

Usage

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

ACF_UI_Options_Page::get_settings_array() code ACF 6.8.8

public function get_settings_array() {
	return array(
		// ACF internal settings.
		'ID'                     => 0,
		'key'                    => '',
		'title'                  => '',
		'active'                 => true,
		'menu_order'             => 0,
		// Basic settings.
		'page_title'             => '',
		'menu_slug'              => '',
		'parent_slug'            => '',
		'advanced_configuration' => false,
		// Visibility tab.
		'icon_url'               => '',
		'menu_title'             => '',
		'position'               => null,
		'redirect'               => false,
		'description'            => '',
		'menu_icon'              => array(),
		// Labels tab.
		'update_button'          => __( 'Update', 'acf' ),
		'updated_message'        => __( 'Options Updated', 'acf' ),
		// Permissions tab.
		'capability'             => 'edit_posts',
		'data_storage'           => 'options',
		'post_id'                => '',
		'autoload'               => false,
	);
}