LLMS_Admin_Setup_Wizard::__construct()
Constructor
Return Return
(void)
Source Source
File: includes/admin/class.llms.admin.setup.wizard.php
public function __construct() { /** * Whether or not the LifterLMS Setup Wizard is enabled. * * This filter may be used to entirely disable the setup wizard. * * @since 3.0.0 * * @param boolean $enabled Whether or not the wizard is enabled. */ if ( apply_filters( 'llms_enable_setup_wizard', true ) ) { add_action( 'admin_enqueue_scripts', array( $this, 'enqueue' ) ); add_action( 'admin_menu', array( $this, 'admin_menu' ) ); add_action( 'admin_init', array( $this, 'save' ) ); // Add HTML around importable courses on last step. add_action( 'llms_before_importable_course', array( $this, 'output_before_importable_course' ) ); add_action( 'llms_after_importable_course', array( $this, 'output_after_importable_course' ) ); // Hide action buttons on importable courses during last step. add_filter( 'llms_importable_course_show_action', '__return_false' ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.4.4 | Remove output of inline scripts. |
3.0.0 | Introduced. |