public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/classes/unitfrontend.php
/**
		 * Check if we need to show the question review page right now.
		 *
		 * @return Boolean True if yes, false otherwise.
		 */
Check if we need to show the question review page right now.
@return Boolean True if yes, false otherwise.
Check if we need to show the question review page right now . @return Boolean True if yes false otherwise .
public function check_paging_shouldWeShowReviewPage_rightNow() {
			if ( ! $this->unitQuizProgress ) {
				return false;
			}
			return $this->check_paging_shouldWeShowReviewPage() && ( 'incomplete' == $this->unitQuizProgress->quiz_paging_status && $this->unitQuizProgress->quiz_paging_incomplete <= 0 );
		}
public function check_paging_shouldWeShowReviewPage_rightNow ( ) { if ( ! $ this -> unitQuizProgress ) { return false ; } return $ this -> check_paging_shouldWeShowReviewPage ( ) && ( 'incomplete' == $ this -> unitQuizProgress -> quiz_paging_status && $ this -> unitQuizProgress -> quiz_paging_incomplete <= 0 ) ; }
Check if we need to show the question review page right now.
Check if we need to show the question review page right now .
// Not checking unitQuizDetails - as that's handled in the checking in check_paging_shouldWeShowReviewPage and // we're ANDing the result, meaning $this->unitQuizProgress->quiz_paging_incomplete will never be checked if // check_paging_shouldWeShowReviewPage() returns false. // The latter check sees if we're all complete on questions.