$version $version : string Public static variable to hold the current plugin version. Type string — Current plugin version.
$metaboxes $metaboxes : object Public variable to hold the Metaboxes instance. Type object — Metaboxes.
$instance $instance : mixed Private static variable to hold the single instance of the class. Type mixed — Default null
$current_version $current_version : string Private variable to hold the current version. Type string — The plugin current version.
$check_ver_update $check_ver_update : string Private variable to hold the check update version number. Type string — The plugin current update version.
$plugin_slug $plugin_slug : string Private variable to hold the plugin slug (mainwp/mainwp.php) Type string — Plugin slug.
instance() instance() : \MainWP\Dashboard\MainWP_System Method instance() Create a public static instance. Returns \MainWP\Dashboard\MainWP_System
__construct() __construct(string $mainwp_plugin_file) MainWP_System constructor. Runs any time class is called. Parameters string $mainwp_plugin_file Plugn slug.
get_dashboard_version() get_dashboard_version() : string Method get_dashboard_version() Get dashboard version. Returns string — $version Version.
load_all_options() load_all_options() : array Method load_all_options() Load all wp_options data. Returns array — $alloptions Array of all options.
wp_mail_failed() wp_mail_failed(string $error) Method wp_mail_failed() Check if there has been a wp mail failer. Parameters string $error Array of error messages.
get_version() get_version() : string Method get_version() Get current plugin version. Returns string — Current plugin version.
mainwp_cronpingchilds_action() mainwp_cronpingchilds_action() Method mainwp_cronpingchilds_action() Run cron ping child's action.
mainwp_cronbackups_continue_action() mainwp_cronbackups_continue_action() Method mainwp_cronbackups_continue_action() Run cron backups continue action.
mainwp_cronbackups_action() mainwp_cronbackups_action() Method mainwp_cronbackups_action() Run cron backups action.
mainwp_cronreconnect_action() mainwp_cronreconnect_action() Method mainwp_cronreconnect_action() Run cron stats action.
mainwp_cronupdatescheck_action() mainwp_cronupdatescheck_action() Method mainwp_cronupdatescheck_action() Run cron updates check action.
mainwp_crondeactivatedlicensesalert_action() mainwp_crondeactivatedlicensesalert_action() Method mainwp_crondeactivatedlicensesalert_action() Run cron activated licenses alert action.
mainwp_croncheckstatus_action() mainwp_croncheckstatus_action() Method mainwp_croncheckstatus_action() Run cron check sites status action.
mainwp_cronchecksitehealth_action() mainwp_cronchecksitehealth_action() Method mainwp_cronchecksitehealth_action() Run cron check sites health action.
is_mainwp_pages() is_mainwp_pages() : boolean Method is_mainwp_pages() Get the current page and check it for "mainwp_". Returns boolean — ture|false.
is_mainwp_site_page() is_mainwp_site_page() : boolean Method is_mainwp_site_page() Checks if the current page is under the site mode. Returns boolean — ture|false.
parse_init() parse_init() Method parse_init() Initiate plugin installation & then run the Quick Setup Wizard.
after_setup_theme() after_setup_theme() Method after_setup_theme() After setup theme hook, to support post thumbnails.
admin_init() admin_init() Method admin_init() Do nothing if current user is not an Admin else display the page.
admin_enqueue_scripts() admin_enqueue_scripts() Method admin_enqueue_scripts() Enqueue all Mainwp Admin Scripts.
admin_enqueue_scripts_fix_conflict() admin_enqueue_scripts_fix_conflict() Method admin_enqueue_scripts_fix_conflict() Enqueue Admin Scripts fix conflict.
admin_enqueue_styles() admin_enqueue_styles() Method admin_enqueue_styles() Enqueue all Mainwp Admin Styles.
enqueue_postbox_scripts() enqueue_postbox_scripts() Method enqueue_postbox_scripts() Enqueue postbox scripts.
is_single_user() is_single_user() : boolean Method is_single_user() Check if single user environment. Returns boolean — true|false.
is_multi_user() is_multi_user() : boolean Method is_multi_user() Check if multi user environment. Returns boolean — true|false.