Browse: Home / Functions /

learndash_get_course_points_access

learndash_get_course_points_access( int $post_id )

Gets the course points access for a given course ID.


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.