dozent_get_total_quiz( int $course_ID )

Get total quiz related by the course


Description

See also


Parameters

$course_ID

(int) (Required)


Return

(mixed|void)


Source

File: includes/core-functions.php

	function dozent_get_total_quiz( $course_ID = 0 ) {
		$course_ID = dozent_get_post_id( $course_ID );

		$total_quiz = (int) get_post_meta( $course_ID, '_total_quiz', true );

		return apply_filters( 'dozent_get_total_quiz', $total_quiz, $course_ID );
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.