public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/classes/unitfrontend.php
/**
		 * Determine if the non-blocking quiz allows a retake button to be shown (and assuming other criteria are met too).
		 *
		 * @return Boolean True if we can show a retake button, false otherwise.
		 */
Determine if the non-blocking quiz allows a retake button to be shown (and assuming other criteria are met too).
@return Boolean True if we can show a retake button, false otherwise.
Determine if the non - blocking quiz allows a retake button to be shown ( and assuming other criteria are met too ) . @return Boolean True if we can show a retake button false otherwise .
public function check_quizzes_NonBlockingQuizOffersRetakeButton() {
			if ( isset( $this->unitQuizDetails->quiz_type ) ) {
				return (
					'quiz_noblock' == $this->unitQuizDetails->quiz_type &&
					'show_recommended' == $this->unitQuizDetails->quiz_recommended_score );
			}
		}
public function check_quizzes_NonBlockingQuizOffersRetakeButton ( ) { if ( isset ( $ this -> unitQuizDetails -> quiz_type ) ) { return ( 'quiz_noblock' == $ this -> unitQuizDetails -> quiz_type && 'show_recommended' == $ this -> unitQuizDetails -> quiz_recommended_score ) ; } }
Determine if the non-blocking quiz allows a retake button to be shown (and assuming other criteria are met too).
Determine if the non - blocking quiz allows a retake button to be shown ( and assuming other criteria are met too ) .
// Non-blockign quiz // Recommended score option selected