Hide Today's Booking Date After Cutoff
A mini extension for WooCommerce Bookings that hides today's date from the calendar after a specified hour (e.g. 14:00), based on your site's timezone. Prevents same-day bookings after cutoff time.
by Shameem Reza · github.com/shameemreza/hide-todays-booking-date
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/shameemreza/hide-todays-booking-date/archive/refs/heads/main.zipReadme
Booking Cutoff for WooCommerce Bookings
This mini plugin disables same-day bookings after a specific cutoff time in WooCommerce Bookings.
What It Does
Once the current time passes the defined cutoff hour (e.g. 14:00), today's date will be blocked from selection on the booking calendar.
How It Works
The plugin uses JavaScript to hide today’s date on the calendar UI if the current time (based on WordPress timezone) is equal to or later than the set cutoff hour.
Setup
- Upload the plugin ZIP in Plugins → Add New → Upload Plugin.
- Activate the plugin.
- By default, the cutoff is set to
14(2 PM). You can edit this inbooking-cutoff.jsinside the plugin’sassetsfolder:const cutoffHour = 14;
Notes
- This works for Bookable Products using the Date Picker only.
- Make sure your WordPress timezone is set correctly under Settings → General.
- Caching may affect script visibility, test in a private/incognito window.
Support
This is a custom solution provided as-is. For advanced changes, I recommend hiring a developer or WooExpert.
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 0.0.1 | Apr 30, 2025 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.