Automator_Load::initiate_setup_wizard()
Initiate the set-up wizard.
Source Source
File: src/class-automator-load.php
public function initiate_setup_wizard() { if ( is_admin() && ! defined( 'DOING_AJAX' ) ) { include_once UA_ABSPATH . 'src/core/admin/setup-wizard/setup-wizard.php'; $setup_wizard = new Setup_Wizard(); } if ( defined( 'DOING_AJAX' ) ) { // Add the ajax listener. include_once UA_ABSPATH . 'src/core/admin/setup-wizard/setup-wizard.php'; add_action( 'wp_ajax_uo_setup_wizard_set_tried_connecting', array( '\Uncanny_Automator\Setup_Wizard', 'set_tried_connecting', ) ); } }
Expand full source code Collapse full source code View on Github