LLMS_Student::get_completion_date( int $object_id, string $format = 'F d, Y' )
Get the formatted date when a course or lesson was completed by the student
Description Description
Parameters Parameters
- $object_id
-
(Required) WP Post ID of a course or lesson
- $format
-
(Optional) date format as accepted by php date()
Default value: 'F d, Y'
Return Return
(false|string) will return false if the user is not enrolled
Source Source
File: includes/models/model.llms.student.php
Changelog Changelog
Version | Description |
---|---|
?? | Introduced. |