LD_REST_Quiz_Statistics_Controller_V2::prepare_date_response( string $date_gmt, string|null $date = null )
Checks the post_date_gmt or modified_gmt and prepare any post or modified date for single post output.
Description #
Parameters #
- $date_gmt
-
(string) (Required) GMT publication time.
- $date
-
(string|null) (Optional) Local publication time.
Default value: null
Return #
(string|null) ISO8601/RFC3339 formatted datetime, otherwise null.
Source #
File: includes/rest-api/v2/class-ld-rest-quiz-statistics-controller.php
Changelog #
Version | Description |
---|---|
3.4.2 | Introduced. |