Filter: sensei_feature_course_preview_lessons

apply_filters( 'sensei_feature_course_preview_lessons', $enabled ) → {bool}

Filters whether the course feature to allow students to preview lessons is enabled.

Parameters:
Name Type Description
$enabled bool

Whether the feature is enabled.

Source:
Returns:

Whether the feature is enabled.

Type
bool