apply_filters( 'dozent_course_is_protected', bool $is_protected, int|object $course )

Filter the return value of dozent_course_is_protected(); function


Description

The course is free. Anyone can access its content by log-in into the site.


Parameters

$is_protected

(bool) Determine if the course is protected

$course

(int|object) Post object


Source

File: includes/conditional-functions.php



Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.