learndash_assignment_is_points_enabled

learndash_assignment_is_points_enabled( int|WP_Post $assignment )

Checks if the points are enabled for the assignment.


Description #


Parameters #

$assignment

(int|WP_Post) (Required) The assignment WP_Post object or ID.


Return #

(boolean) Returns true if the points are enabled otherwise false.


Source #

File: includes/ld-assignment-uploads.php