[ Close ] Learn more about our custom WordPress development services at htmlBurger

Documentation

Documentation > Fields > Date

Date

Renders a date picker using jQuery UI. The value is stored in YYYY-MM-DD format.

Field::make("date", "crb_event_start_date", "Start")

Setup methods

set_datepicker_options($options)

Set an associative array with your preferred Datepicker options.

set_options($options)

Deprecated: Use set_datepicker_options() instead.

Excited about Carbon Fields? Spread the word!