learndash_get_course_points_access( int $post_id )
Gets the course points access for a given course ID.
Description Description
Parameters Parameters
- $post_id
-
(Optional) The ID of the course. Default 0.
Return Return
(int|false) Returns false if the course points are disabled otherwise returns course points.
Source Source
File: includes/course/ld-course-functions.php
Changelog Changelog
Version | Description |
---|---|
2.4.0 | Introduced. |