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. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By 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 Changelog # Changelog Version Description 2.4.0 Introduced. Related # Namespace # global @package # LearnDash / Course Uses # Uses Uses Description includes/ld-users.php: learndash_get_user_course_points () Gets the course points for a user. includes/course/ld-course-functions.php: learndash_get_course_points_enabled () Checks if the course points are enabled for a course. includes/course/ld-course-functions.php: learndash_get_course_points_access () Gets the course points access for a given course ID. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource. Used By # Used By Used By Description includes/exam/ld-exam-functions.php: learndash_course_exam_challenge_redirect () Redirect the user to the associate challenge exam from the course. includes/class-ld-cpt-instance.php: SFWD_CPT_Instance::template_content () Generate output for courses, lessons, topics, quizzes Filter callback for ‘the_content’ (wp core filter) includes/course/ld-course-progress.php: learndash_mark_complete () Outputs the HTML output to mark a course complete.
Uses # Uses Uses Description includes/ld-users.php: learndash_get_user_course_points () Gets the course points for a user. includes/course/ld-course-functions.php: learndash_get_course_points_enabled () Checks if the course points are enabled for a course. includes/course/ld-course-functions.php: learndash_get_course_points_access () Gets the course points access for a given course ID. includes/course/ld-course-functions.php: learndash_get_course_id () Gets the course ID for a resource.
Used By # Used By Used By Description includes/exam/ld-exam-functions.php: learndash_course_exam_challenge_redirect () Redirect the user to the associate challenge exam from the course. includes/class-ld-cpt-instance.php: SFWD_CPT_Instance::template_content () Generate output for courses, lessons, topics, quizzes Filter callback for ‘the_content’ (wp core filter) includes/course/ld-course-progress.php: learndash_mark_complete () Outputs the HTML output to mark a course complete.