LLMS_Meta_Box_Order_Submit::get_editable_date_json( int $time )

Retrieve json to be used by the llms-editable date fields

Parameters Parameters


(int) (Required) timestamp

Top ↑

Return Return


Top ↑

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(
				'date'   => date_i18n( 'Y-m-d', $time ),
				'hour'   => date_i18n( 'H', $time ),
				'minute' => date_i18n( 'i', $time ),


Top ↑

Changelog Changelog

Version Description
3.10.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.