public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/functions.php
/**
 * Calculate how many questions there are.
 *
 * @since 1.0.0
 *
 * @return integer The total number of questions.
 */
Calculate how many questions there are.

@return integer The total number of questions.
Calculate how many questions there are . @return integer The total number of questions .
function WPCW_questions_getQuestionCount() {
	global $wpdb, $wpcwdb;
	$wpdb->show_errors();
	return $wpdb->get_var( "
		SELECT COUNT(*) as q_count
		FROM $wpcwdb->quiz_qs
		WHERE question_type != 'random_selection'
	" );
}
function WPCW_questions_getQuestionCount ( ) { global $ wpdb , $ wpcwdb ; $ wpdb -> show_errors ( ) ; return $ wpdb -> get_var ( " 
		SELECT COUNT(*) as q_count
		FROM  $ wpcwdb -> quiz_qs 
		WHERE question_type != 'random_selection'
	 " ) ; }
Calculate how many questions there are.
Calculate how many questions there are .