Custom time interval, wrong time slots
-
Hello I’m trying to add a custom time interval using the filter provided, so I wrote the following code in my theme functions.php file
if ( !function_exists( 'rtb_setting_time_interval_options' ) ) {
function zem_custom_time_interval ( $intervals ) {
$intervals['75'] = __( 'Every 75 minutes', 'restaurant-reservations' );
return $intervals;
}
add_filter( 'rtb_setting_time_interval_options', 'zem_custom_time_interval' );
}I also selected a custom schedule time from 6pm to 11pm, as for project needs.
It works as expected in admin. I can select the corresponding item from the dropdown list, it’s saved as option and so on, but when I act as a client and try to select a time slot, the first available slot is at 6.45pm.
I made several attempts and it seems it calculates time slots starting always from 12am.
Could you help me, please?
Edit: I forgot mentioning that the linked page I wrote is a development website with restricted access.
The page I need help with: [log in to see the link]
The topic ‘Custom time interval, wrong time slots’ is closed to new replies.