public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/functions.php
/**
 * Get the name for the type of quiz being shown.
 *
 * @since 1.0.0
 *
 * @param string $quizType The type of the quiz.
 *
 * @return string The actual name of the quiz type.
 */
Get the name for the type of quiz being shown.

@param string $quizType The type of the quiz.

@return string The actual name of the quiz type.
Get the name for the type of quiz being shown . @param string $quizType The type of the quiz . @return string The actual name of the quiz type .
function WPCW_quizzes_getQuizTypeName( $quizType ) {
	switch ( $quizType ) {
		case 'survey':
			return __( 'Survey', 'wp-courseware' );
			break;
		case 'quiz_block':
			return __( 'Quiz - Blocking', 'wp-courseware' );
			break;
		case 'quiz_noblock':
			return __( 'Quiz - Non-Blocking', 'wp-courseware' );
			break;
	}
	return false;
}
function WPCW_quizzes_getQuizTypeName ( $ quizType ) { switch ( $ quizType ) { case 'survey' : return __ ( 'Survey' , 'wp-courseware' ) ; break ; case 'quiz_block' : return __ ( 'Quiz - Blocking' , 'wp-courseware' ) ; break ; case 'quiz_noblock' : return __ ( 'Quiz - Non-Blocking' , 'wp-courseware' ) ; break ; } return false ; }
Get the name for the type of quiz being shown.
Get the name for the type of quiz being shown .