LLMS_Metabox_Date_Field::__construct( array $_field )

Class constructor


Parameters Parameters

$_field

(array) (Required) Array containing information about field


Top ↑

Source Source

File: includes/admin/post-types/meta-boxes/fields/llms.class.meta.box.date.php

	public function __construct( $_field ) {

		$_field = wp_parse_args(
			$_field,
			array(
				'date_format'        => 'mm/dd/yy', // jQuery datepicker formats (http://api.jqueryui.com/datepicker/#utility-formatDate).
				'date_max'           => '',
				'date_min'           => '',
				'date_displayformat' => $this->php_to_jquery_date_format( get_option( 'date_format' ) ),
			)
		);

		$this->field = $_field;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
?? Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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