$template_context Authorized shell context. */ if ( ! defined( 'ABSPATH' ) ) { exit; } $templates = $template_context['templates']; $draft = $template_context['draft']; $step_dialogs = isset( $template_context['step_data']['dialogs'] ) && is_array( $template_context['step_data']['dialogs'] ) ? $template_context['step_data']['dialogs'] : array(); ?>
render( $template_context['header_template_id'], array( 'current_step' => $template_context['current_step'], 'step_data' => $template_context['step_data'], ) ); } ?>
render( 'rail', $template_context ); ?>
render( $template_context['step_template_id'], array( 'current_step' => $template_context['current_step'], 'draft' => $draft, 'step_data' => $template_context['step_data'], 'templates' => $templates, 'settings_hint' => isset( $template_context['settings_hint'] ) && is_array( $template_context['settings_hint'] ) ? $template_context['settings_hint'] : array(), ) ); ?>
render( 'footer', $template_context ); ?> render( 'confirmation-dialog', array( 'dialog_id' => 'wpbc-setup-wizard-restart-dialog', 'action' => 'restart', 'title' => __( 'Restart the Setup Wizard?', 'booking' ), 'description' => __( 'This restarts wizard navigation, recommendations, and editable wizard values while retaining operation history. It does not restore or roll back Booking Calendar settings or separately completed actions.', 'booking' ), 'confirm_label' => __( 'Restart Wizard', 'booking' ), ) ); $templates->render( 'confirmation-dialog', array( 'dialog_id' => 'wpbc-setup-wizard-skip-dialog', 'action' => 'skip', 'title' => __( 'Skip the remaining setup steps?', 'booking' ), 'description' => __( 'This marks every remaining Setup Wizard step as skipped, completes the setup, and opens Setup overview. Settings and actions already saved remain active. Unsaved changes on this page will not be saved.', 'booking' ), 'confirm_label' => __( 'Skip Setup Wizard', 'booking' ), ) ); foreach ( $step_dialogs as $step_dialog ) { if ( ! is_array( $step_dialog ) ) { continue; } $templates->render( 'confirmation-dialog', $step_dialog ); } ?>