learndash_get_course_points_enabled learndash_get_course_points_enabled( int $post_id ) Checks if the course points are enabled for a course. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $post_id (int) (Optional) The course ID. Default 0. Return # (bool) Returns true if the course points are enabled otherwise false. 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/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. 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/course/ld-course-functions.php: learndash_get_course_points () Gets the course points for a given course ID. 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_check_user_course_points_access () Checks if a user can access course points.
Uses # Uses Uses Description includes/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. 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/course/ld-course-functions.php: learndash_get_course_points () Gets the course points for a given course ID. 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_check_user_course_points_access () Checks if a user can access course points.