LLMS_Controller_Lesson_Progression::__construct()
Constructor
Contents
Return Return
(void)
Source Source
File: includes/controllers/class.llms.controller.lesson.progression.php
public function __construct() { add_action( 'admin_init', array( $this, 'handle_admin_managment_forms' ) ); add_action( 'init', array( $this, 'handle_complete_form' ) ); add_action( 'init', array( $this, 'handle_incomplete_form' ) ); add_action( 'lifterlms_quiz_completed', array( $this, 'quiz_complete' ), 10, 3 ); add_filter( 'llms_allow_lesson_completion', array( $this, 'quiz_maybe_prevent_lesson_completion' ), 10, 5 ); add_action( 'llms_trigger_lesson_completion', array( $this, 'mark_complete' ), 10, 4 ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.29.0 | Unknown |
3.17.1 | Introduced. |