LearnDash_Setup_Wizard
Setup wizard class.
Description #
Source #
Methods #
- __construct — The single instance of the class.
- create_courses_listing_page — Create courses listing page
- create_profile_page — Create profile page during Setup Wizard completion.
- create_registration_pages — Create registration, registration success, reset password and profile pages.
- dismiss — Dismiss
- enable_stripe_connect_and_redirect — Enables the Stripe connect and then redirect to the wizard again.
- enqueue_scripts — Register the script
- finalize_setup — Ajax endpoint for finalize the setup.
- get_completed_redirect_url — Returns the redirect URL after the wizard is completed.
- get_scenes — Get the list of scenes.
- install — Install a plugin
- maybe_install_a_plugin — Install a plugin
- redirect_after_activation — Redirect to the setup wizard after an activation.
- register_menu — Register the admin page to the tree.
- render — Output the html root for react app.
- sanitize_text_fields — Sanitize an array recursively.
- save_data — An ajax endpoint for saving wizard data. When the user move to next step, we will store the current state in the db.
- set_redirect_flag — Check when we need to show the wizard and set an option for that.
- should_display — If there is no license key stored in the database, then we should show up the wizard
- update_data — Update the wizard data.
- verify_license — Ajax endpoint, for trigger a request to validate the license key.
- wp_shutdown — Check when we need to show the wizard and set an option for that.