Properties

$step

$step : string

Private variable to hold current quick setup wizard step.

Type

string — Current QSW step.

$steps

$steps : array

Private variable to hold quick setup wizard steps.

Type

array — QSW steps.

Methods

__construct()

__construct() 

MainWP_Setup_Wizard constructor.

Run each time the class is called.

admin_menus()

admin_menus() 

Method admin_menus()

Add Quick Setup Wizard page.

admin_init()

admin_init() 

Medthod admin_init()

Initiate Quick Setup Wizard page.

get_next_step_link()

get_next_step_link(string  $step = '') : string

Method get_next_step_link()

Get the link for the next step.

Parameters

string $step

Next step link.

Returns

string —

Link for next step.

get_back_step_link()

get_back_step_link(string  $step = '') : string

Method get_back_step_link()

Get the link for the previouse step.

Parameters

string $step

Previouse step link.

Returns

string —

Link for previouse step.

setup_wizard_header()

setup_wizard_header() 

Method setup_wizard_header()

Render Setup Wizard's header.

setup_wizard_footer()

setup_wizard_footer() 

Method setup_wizard_footer()

Render Setup Wizard's footer.

setup_wizard_steps()

setup_wizard_steps() 

Method setup_wizard_steps()

Render Setup Wizards Steps.

setup_wizard_content()

setup_wizard_content() 

Method setup_wizard_content()

Render setup Wizard's current step view.

mwp_setup_introduction()

mwp_setup_introduction() 

Method mwp_setup_introduction()

First start message after activation.

mwp_setup_installation()

mwp_setup_installation() 

Method mwp_setup_installation()

Render Installation Step.

mwp_setup_installation_save()

mwp_setup_installation_save() 

Method mwp_setup_installation_save()

Installation Step save to DB.

mwp_setup_system_requirements()

mwp_setup_system_requirements() 

Method mwp_setup_system_requirements()

Render System Requirements Step.

mwp_setup_install_mainwp_child()

mwp_setup_install_mainwp_child() 

Method mwp_setup_install_mainwp_child()

Render Install MainWP Child Plugin on Child Site Step.

mwp_setup_connect_first_site()

mwp_setup_connect_first_site() 

Method mwp_setup_connect_first_site()

Render Install first Child Site Step form.

mwp_setup_hosting()

mwp_setup_hosting() 

Method mwp_setup_hosting()

Redner Hosting Setup step form.

mwp_setup_hosting_save()

mwp_setup_hosting_save() 

Method mwp_setup_hosting_save()

Save hosting form data.

mwp_setup_optimization()

mwp_setup_optimization() 

Method mwp_setup_optimization()

Render Optimization step.

mwp_setup_optimization_save()

mwp_setup_optimization_save() 

Method mwp_setup_optimization_save()

Save Optimization form data.

mwp_setup_monitoring()

mwp_setup_monitoring() 

Method mwp_setup_monitoring()

Render Monitoring Step.

mwp_setup_monitoring_save()

mwp_setup_monitoring_save() 

Method mwp_setup_monitoring_save()

Save Monitoring form data.

mwp_setup_notification()

mwp_setup_notification() 

Method mwp_setup_notification()

Render Notifications Step.

mwp_setup_backup()

mwp_setup_backup() 

Method mwp_setup_backup()

Render Backups Step.

mwp_setup_backup_save()

mwp_setup_backup_save() 

Method mwp_setup_backup_save()

Save Backup step form data.

mwp_setup_purchase_extension_save()

mwp_setup_purchase_extension_save() 

Method mwp_setup_purchase_extension_save()

MainWP Extensions login.

ajax_activate_plugin()

ajax_activate_plugin() 

Method ajax_activate_plugin()

Ajax Activate Plugin.

ajax_grab_api_key()

ajax_grab_api_key() 

Method ajax_grab_api_key()

Ajax grab api key.

mwp_setup_install_extension()

mwp_setup_install_extension() 

Method mwp_setup_install_extension()

Setup & install extensions Step.

mwp_setup_install_extension_save()

mwp_setup_install_extension_save() 

Method mwp_setup_install_extension_save()

Save setup install extensions form.

mwp_setup_ready()

mwp_setup_ready() 

Method mwp_setup_ready()

Render MainWP Dashboard ready message.

mwp_setup_ready_actions()

mwp_setup_ready_actions() 

Method mwp_setup_ready_actions()

Delete option 'mainwp_run_quick_setup' when Quick Wizard Setup is completed.