public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/classes/unitfrontend.php
/**
		 * Check to see if the user has completed the quiz for this unit.
		 *
		 * @return Boolean True if they have completed the quiz (or there is no quiz), false otherwise.
		 */
Check to see if the user has completed the quiz for this unit.
@return Boolean True if they have completed the quiz (or there is no quiz), false otherwise.
Check to see if the user has completed the quiz for this unit . @return Boolean True if they have completed the quiz ( or there is no quiz ) false otherwise .
public function check_quizzes_hasUserCompletedQuiz() {
			if ( ! $this->unitQuizDetails ) {
				return true;
			}
			if ( ! $this->unitQuizProgress ) {
				return false;
			}
			if ( 'complete' == $this->unitQuizProgress->quiz_paging_status ) {
				return true;
			}
			return false;
		}
public function check_quizzes_hasUserCompletedQuiz ( ) { if ( ! $ this -> unitQuizDetails ) { return true ; } if ( ! $ this -> unitQuizProgress ) { return false ; } if ( 'complete' == $ this -> unitQuizProgress -> quiz_paging_status ) { return true ; } return false ; }
Check to see if the user has completed the quiz for this unit.
Check to see if the user has completed the quiz for this unit .
// No quiz details // No quiz progress - so it's not been attempted. // Been attempted, but it's not yet complete. // Otherwise incomplete.