learndash_get_course_points_enabled

learndash_get_course_points_enabled( int $post_id )

Checks if the course points are enabled for a course.


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.