Hi there.
I came across this snippet.
function new_default_time( $default, $type ) {
if ( 'start' === $type ) {
return '09:00';
} elseif ( 'end' === $type ) {
return '22:00';
}
return $default;
}
add_action( 'tribe_events_meta_box_timepicker_default', 'new_default_time', 10, 2 );
Is there any way of limiting the dates as well?
We are doing a 3 days event that is based on community event, so the users will upload their own events.
If there is a way of limiting the dates or at leadt making the 22 of November the default date, it will be super.
Thanks!
Guy