Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* Set the minimum acceptable date to 10 days in the future
function prefix_date_field_params( $params, $item ) {
$params[] = '"minDate" : 10';;
return $params;
add_filter( 'pewc_filter_date_field_params', 'prefix_date_field_params', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.