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

Parameters Parameters


(int) (Required) WP Post ID of a course or lesson


(string) (Optional) date format as accepted by php date()

Default value: 'F d, Y'

Top ↑

Return Return

(false|string) will return false if the user is not enrolled

Top ↑

Source Source

File: includes/models/model.llms.student.php

		$more = false;

		// If we hit our limit we have too many results, pop the last one.
		if ( count( $ids ) === $args['limit'] ) {
			array_pop( $ids );
			$more = true;

		// Reset args to pass back for pagination.

		$r = array(
			'limit'   => $args['limit'],
			'more'    => $more,

Top ↑

Changelog Changelog

Version Description
?? Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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