20, 'fields' => /** * Filter the fields available on the display settings tab * * @param array $fields a nested associative array of fields & field info passed to Tribe__Field * @see Tribe__Field */ apply_filters( 'tribe_display_settings_tab_fields', array( 'tribe-form-content-start' => array( 'type' => 'html', 'html' => '
The following three fields accept the date format options available to the php date() function. Learn how to make your own date format here.
', 'tribe-common' ), ), 'datepickerFormat' => array( 'type' => 'dropdown', 'label' => esc_html__( 'Datepicker Date Format', 'tribe-common' ), 'tooltip' => esc_html__( 'Select the date format to use in datepickers', 'tribe-common' ), 'default' => 'Y-m-d', 'options' => array( '0' => date( 'Y-m-d', $sample_date ), '1' => date( 'n/j/Y', $sample_date ), '2' => date( 'm/d/Y', $sample_date ), '3' => date( 'j/n/Y', $sample_date ), '4' => date( 'd/m/Y', $sample_date ), '5' => date( 'n-j-Y', $sample_date ), '6' => date( 'm-d-Y', $sample_date ), '7' => date( 'j-n-Y', $sample_date ), '8' => date( 'd-m-Y', $sample_date ), ), 'validation_type' => 'options', ), 'tribe-form-content-end' => array( 'type' => 'html', 'html' => '