Properties

$subPages

$subPages : array

Public static varable to hold Subpages information.

Type

array

$instance

$instance : mixed

Protected static variable to hold the single instance of the class.

Type

mixed — Default null

Methods

get_class_name()

get_class_name() : \MainWP\Dashboard\__CLASS__

Get Class Name

Returns

\MainWP\Dashboard\__CLASS__

get_instance()

get_instance() : mixed

Return the single instance of the class.

Returns

mixed —

$instance The single instance of the class.

init()

init() 

Instantiate Hooks for the Settings Page.

admin_init()

admin_init() 

Run the export_sites method that exports the Child Sites .csv file

init_menu()

init_menu() 

Instantiate the Settings Menu.

init_subpages_menu()

init_subpages_menu() 

Instantiate Settings SubPages Menu.

init_left_menu()

init_left_menu(array  $subPages = array()) 

Instantiate left menu

Settings Page & SubPage link data.

Parameters

array $subPages

SubPages Array.

render_header()

render_header(string  $shownPage = '') 

Render Page Header.

Parameters

string $shownPage

The page slug shown at this moment.

render_footer()

render_footer() 

Close the HTML container.

handle_settings_post()

handle_settings_post() : boolean

Method handle_settings_post().

This class handles the $_POST of Settings Options.

Returns

boolean —

True|False Posts On True.

render_timezone_settings()

render_timezone_settings() 

Render Timezone settings.

render_datetime_settings()

render_datetime_settings() 

Render Date/Time settings.

get_websites_automatic_update_time()

get_websites_automatic_update_time() : mixed

Method get_websites_automatic_update_time()

Get websites automatic update time.

Returns

mixed —

array

show_openssl_lib_config()

show_openssl_lib_config() : mixed

Returns false or the location of the OpenSSL Lib File.

Returns

mixed —

false|opensslLibLocation

render_advanced()

render_advanced() 

Render Advanced Options Subpage.

render_mainwp_tools()

render_mainwp_tools() 

Render MainWP Tools SubPage.

render_select_custom_themes()

render_select_custom_themes() 

Render MainWP themes selection.

get_custom_themes_files()

get_custom_themes_files() 

Get custom themes files.

get_selected_theme()

get_selected_theme() 

Get selected MainWP theme name.

get_custom_theme_folder()

get_custom_theme_folder() 

Get custom MainWP theme folder.

get_current_user_theme()

get_current_user_theme() 

Get current user's selected theme.

mainwp_help_content()

mainwp_help_content() 

Hook the section help content to the Help Sidebar element