dozent_course_access_method_html( $course = null,  $echo = true )


Source

File: includes/template-functions.php

	function dozent_course_access_method_html( $course = null, $echo = true ) {

		$course = dozent_get_course( $course );

		dozent_load_template( 'single/course/access_method_html', compact( 'course' ) );

		/**
		 * Filter the course access method HTML
		 *
		 * @since DozentLMS 1.0.0
		 */

		$output = apply_filters( 'single/course/access_method_html', ob_get_clean(), $course );

		if ( $echo ) {
			echo $output;
		}

		return $output;
	}