learndash_check_user_course_points_access

learndash_check_user_course_points_access( int $post_id,  int $user_id )

Checks if a user can access course points.


Description #


Parameters #

$post_id

(int) (Required) The ID of the post.

$user_id

(int) (Optional) The ID of the user. Default 0.


Return #

(boolean) Whether a user can access course points.


Source #

File: includes/course/ld-course-functions.php