LLMS_Lesson::get_available_date( string $format = '' )

Get the date a course became or will become available according to element drip settings


Description Description

If there are no drip settings, the published date of the element will be returned.


Parameters Parameters

$format

(Optional) Date format (passed to date_i18n()). Default is empty string. When not specified the WP Core date + time formats will be used.

Default value: ''


Top ↑

Return Return

(string)


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.36.2 Add available number of days to the course start date only if there's a course start date.
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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