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.


Top ↑

Return Return

(boolean)


Top ↑

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 );

}


Top ↑

Changelog Changelog

Changelog
Version Description
3.29.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.