learndash_get_assignment_points_awarded( int $assignment_id )

Gets the value of the awarded assignment points.


Description 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 Parameters

$assignment_id

(Required) ID of the assignment.


Top ↑

Return Return

(string) Returns points awarded.


Top ↑

Source Source

File: includes/ld-assignment-uploads.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.