apply_filters( 'dozent_is_curriculum_locked', bool , object $post, int $course_id )

Filter default curriculum lock status, single curriculum pre content.


Description

If this filter return something that’s not false, null, or empty, then the return value will be print in the curriculum content area. This filter useful for make integration that required to lock curriculum content based on condition. Default usage to check if proper access permission has based on the course price time.


Parameters

(bool) false False Return

$post

(object) Curriculum / course content Object

$course_id

(int) Course ID


Source

File: includes/template-functions.php



Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.