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_welcome()

mwp_setup_welcome() 

Method mwp_setup_welcome()

Renders the Welcome screen of the Quick Start Wizard

mwp_setup_introduction()

mwp_setup_introduction() 

Method mwp_setup_introduction()

Renders the Introduction screen of the Quick Start Wizard

mwp_setup_system_requirements()

mwp_setup_system_requirements() 

Method mwp_setup_system_requirements()

Render System Requirements Step.

mwp_setup_introduction_save()

mwp_setup_introduction_save() 

Method mwp_setup_introduction_save()

Installation Step save to DB.

mwp_setup_connect_first_site_save()

mwp_setup_connect_first_site_save() 

Method mwp_setup_connect_first_site_save()

Installation Step after connect first site.

mwp_setup_system_requirements_save()

mwp_setup_system_requirements_save() 

Method mwp_setup_system_requirements_save()

Installation Step save to DB.

mwp_setup_connect_first_site_already()

mwp_setup_connect_first_site_already() 

Method mwp_setup_connect_first_site_already()

Render Added first Child Site Step form.

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_add_client()

mwp_setup_add_client() 

Method mwp_setup_add_client()

Render Add first Client Step form.

render_add_client_content()

render_add_client_content() 

Method render_add_client_content().

Renders add client content window.

get_add_contact_temp()

get_add_contact_temp(boolean  $echo_out = false) 

Method get_add_contact_temp().

Get add contact template.

Parameters

boolean $echo_out

Echo template or not.

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_ready()

mwp_setup_ready() 

Method mwp_setup_ready()

Render MainWP Dashboard ready message.

mainwp_usetiful_tours()

mainwp_usetiful_tours() 

Render usetiful tours.

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.