llms_show_mark_complete_button( obj $lesson )
Determines whether or not a “Mark Complete” button should be displayed for a given lesson
Parameters Parameters
- $lesson
-
(obj) (Required) LLMS_Lesson.
Return Return
(boolean)
Source Source
File: includes/functions/llms-functions-progression.php
function llms_show_mark_complete_button( $lesson ) { $show = true; if ( llms_show_take_quiz_button( $lesson ) ) { $show = false; } return apply_filters( 'llms_show_mark_complete_button', $show, $lesson ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.29.0 | Introduced. |