Browse: Home / Functions /

learndash_get_assignment_points_awarded

learndash_get_assignment_points_awarded( int $assignment_id )

Gets the value of the awarded assignment points.


Description #

If the assignment hasn’t been approved or graded, the translatable string ‘Pending’ is returned. Otherwise, the awarded points and percentage achieved are returned.


Parameters #

$assignment_id

(int) (Required) ID of the assignment.


Return #

(string) Returns points awarded.


Source #

File: includes/ld-assignment-uploads.php


Changelog #

Changelog
Version Description
2.6.4 Introduced.