LLMS_Meta_Box_Order_Submit::get_editable_date_json( int $time )
Retrieve json to be used by the llms-editable date fields
Parameters Parameters
- $time
-
(int) (Required) timestamp
Return Return
(string)
Source Source
File: includes/admin/post-types/meta-boxes/class.llms.meta.box.order.submit.php
public function get_editable_date_json( $time ) { return json_encode( array( 'date' => date_i18n( 'Y-m-d', $time ), 'hour' => date_i18n( 'H', $time ), 'minute' => date_i18n( 'i', $time ), ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.10.0 | Introduced. |