LLMS_Quiz_Attempt::get_date( string $key, string $format = null )
Retrieve a formatted date
Description Description
Parameters Parameters
- $key
-
(Required) 'start' or 'end'.
- $format
-
(Optional) Output date format (PHP), uses WordPress format options if none provided. If not provided defaults to WP date format options.
Default value: null
Return Return
(string)
Source Source
File: includes/models/model.llms.quiz.attempt.php
Changelog Changelog
Version | Description |
---|---|
3.9.0 | |
3.16.0 | Introduced. |