learndash_get_course_points_access learndash_get_course_points_access( int $post_id ) Gets the course points access for a given course ID. ContentsDescription Parameters Return Source Changelog Related Namespace @package Uses Used By Description # Parameters # $post_id (int) (Optional) The ID of the course. Default 0. Return # (int|false) Returns false if the course points are disabled otherwise returns 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-misc-functions.php: learndash_format_course_points () Formats course points. includes/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. 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_id () Gets the course ID for a resource. Used By # Used By Used By Description 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-functions.php: learndash_check_user_course_points_access () Checks if a user can access course points.
Uses # Uses Uses Description includes/ld-misc-functions.php: learndash_format_course_points () Formats course points. includes/settings/settings-functions.php: learndash_get_setting () Gets the LearnDash setting for a post. 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_id () Gets the course ID for a resource.
Used By # Used By Used By Description 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-functions.php: learndash_check_user_course_points_access () Checks if a user can access course points.