Browse: Home / Classes / LD_REST_Quiz_Form_Entries_Controller_V2 /


LD_REST_Quiz_Form_Entries_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 #


(string) (Required) GMT publication time.


(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-form-entries-controller.php

Changelog #

Version Description
3.5.0 Introduced.