apply_filters( 'sfwd_lms_has_access', boolean $has_access , int $post_id , int $user_id )
Filters whether a user has access to the course.
Description Description
Parameters Parameters
- $has_access
-
Whether the user has access to the course or not.
- $post_id
-
Post ID.
- $user_id
-
User ID.
Source Source
File: includes/course/ld-course-user-functions.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |