CourseGate::video_streaming_permission( bool $bool, int $post_id )

Check course has access for specific user


Description

See also


Parameters

$bool

(bool) (Required) True or False

$post_id

(int) (Required) Course ID


Return

(bool)


Source

File: classes/CourseGate.php

	public function video_streaming_permission( $bool, $post_id ){
		return dozent_has_course_access( $post_id );
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.