Warning: This method has been deprecated. LLMS_Generator::format_date() is deprecated in favor of LLMS_Generator_Courses::format_date() instead.
LLMS_Generator::format_date( string $raw_date = null )
Ensure raw dates are correctly formatted to create a post date
Description Description
Falls back to current date if no date is supplied.
Parameters Parameters
- $raw_date
-
(string) (Optional) Raw date from raw object.
Default value: null
Return Return
(string)
Source Source
File: includes/class.llms.generator.php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.7.0 | LLMS_Generator::format_date() is deprecated in favor of LLMS_Generator_Courses::format_date() . |
3.30.2 | Made publicly accessible. |
3.3.0 | Introduced. |