LLMS_Lab_Course_Continue_Button_Module::__construct()
Constructor.
Contents
Return Return
(void)
Source Source
public function __construct() {
parent::__construct(
array(
'name' => esc_html__( 'Course Continue Button', 'lifterlms' ),
'description' => esc_html__( 'Displays a course progress bar for the current course.', 'lifterlms' ),
'category' => esc_html__( 'LifterLMS Modules', 'lifterlms' ),
'dir' => LLMS_BB_MODULES_DIR . 'course-continue-button/',
'url' => LLMS_BB_MODULES_URL . 'course-continue-button/',
'editor_export' => false,
'enabled' => true,
)
);
add_filter( 'llms_course_continue_button_next_lesson', array( $this, 'force_display' ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 1.7.0 | Escape strings. |
| 1.3.0 | Introduced. |