• Resolved websitegirlCa

    (@websitegirlca)


    Hi is there a way to modify the early booking time options? At the moment it only shows 24hrs prior is latest booking time but we would need 48hrs.

    Is this possible?

Viewing 1 replies (of 1 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi websitegirl,

    I know we’ve already responded via email, but, for anyone else who may come across this, I’ll post the same reply here. If you’re comfortable working with code, we do have an available filter that lets you hook into the late bookings setting and modify the available options. The filter is called rtb_setting_late_booking_options. An example of how to use it would be:

    add_filter('rtb_setting_late_booking_options', function ($list) {
      $list['2880'] = __( 'At least 48 hours in advance', 'restaurant-reservations' );
      return $list;
    });

    You can place this code somewhere like the functions.php file in your (child) theme.

    Please note that these filters are only designed for use by advanced users. Only attempt to use these them if you are comfortable working with code, as an error in implementing them can mess up your whole site, and we cannot support it.

    • This reply was modified 3 years, 8 months ago by jaysupport.
Viewing 1 replies (of 1 total)
  • The topic ‘Pre Booking schedule’ is closed to new replies.