apply_filters( 'learndash_lesson_row_atts_sample_no_access', string $attribute , int $lesson_id , int $course_id , int $user_id )
Filters lesson row attributes if the access to sample lesson is not allowed to a user.
Description Description
Parameters Parameters
- $attribute
-
Lesson row attribute. The attribute value to show if the sample lesson is not accessible.
- $lesson_id
-
Lesson ID.
- $course_id
-
Course ID.
- $user_id
-
User ID.
Source Source
File: themes/ld30/templates/lesson/partials/row.php
Changelog Changelog
Version | Description |
---|---|
3.1.4 | Introduced. |