Support › General › Can I somehow exclude several dates and dates ranges in the datepicker field?Resolved
Would that be possible?
For a range, you can use the JS options minDate and maxDate. Example
'name' => __( 'Date', 'your-text-domain' ),
'id' => $prefix . 'date_xabk9calx28',
'type' => 'date',
'js_options' => [
'minDate' => -5,
'maxDate' => '+5D',
Thanks for the info!