LLMS_Course_Data::get_date( string $period, string $date )

Retrieve a start or end date based on the period


Parameters Parameters

$period

(string) (Required) period [current|previous]

$date

(string) (Required) date type [start|end]


Top ↑

Return Return

(string)


Top ↑

Source Source

File: includes/class.llms.course.data.php

	 * @since 3.31.0 Use $this->post_id instead of deprecated $this->course_id.
	 *
	 * @param string $period Optional. Date period [current|previous]. Default is 'current'.
	 * @return int
	 */

Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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