LLMS_Admin_Setup_Wizard
Display a Setup Wizard class
Description Description
Source Source
File: includes/admin/class.llms.admin.setup.wizard.php
Changelog Changelog
Version | Description |
---|---|
4.8.0 | Removed private class property "generated_course_id". |
4.4.4 | Method LLMS_Admin_Setup_Wizard::scripts() & LLMS_Admin_Setup_Wizard::output_step_html() are deprecated with no replacements. |
3.37.14 | Ensure redirect to the imported course when a course is imported at setup completion. |
3.35.0 | Sanitize input data. |
3.30.3 | Fixed spelling error. |
3.0.0 | Introduced. |
Methods Methods
- __construct — Constructor
- admin_menu — Register wizard setup page
- enqueue — Enqueue static assets for the setup wizard screens
- generator_course_status — Allow the Sample Content installed during the final step to be published rather than drafted — deprecated
- get_completed_url — Retrieve the redirect URL to use after an import is complete at the conclusion of the wizard
- get_current_step — Retrieve the current step and default to the intro
- get_next_step — Get slug if next step
- get_prev_step — Get slug if prev step
- get_save_text — Get the text to display on the "save" buttons
- get_skip_text — Get the text to display on the "skip" buttons
- get_step_url — Get the URL to a step
- get_steps — Get an array of step slugs => titles
- output — Output the HTML content of the setup page
- output_after_importable_course — Output HTML after to each importable course
- output_before_importable_course — Output HTML prior to each importable course
- output_step_html — Outputs the HTML "body" for the requested step — deprecated
- save — Handle saving data during setup
- save_coupon — Save the "Coupon" step
- save_finish — Save the "Finish" step.
- save_pages — Save the "Pages" creation step
- save_payments — Save the "Payments" step.
- scripts — Quick and dirty JS "file" — deprecated
- watch_course_generation — Callback function to store imported course information — deprecated