Product Icon

WooCommerce Bookings

Allow customers to book appointments, make reservations, or rent equipment without leaving your site.

Hook for custom code on is_bookable on a Product on Woocommerce Bookings

Add a hook for custom availability etc. Currently I’m attaching into wp_ajax which feels hacky and horrible

Author

Anonymous

Current Status

Completed

Last updated: May 19, 2026

1 comment

Log in to comment on this feature request.

  1. Jason Kytros says:
    Product developer May 19, 2026 1:37 pm

    Hi there,

    Thanks for the suggestion — this is already possible via several filters in WooCommerce Bookings:

    – woocommerce_bookings_is_date_bookable — override availability for a given product/resource/date.
    – wc_bookings_product_get_available_blocks — override the full set of available blocks for a product (and resource if applicable).
    – woocommerce_bookings_filter_time_slots — override the list of available time slots.

    Marking this one as completed. Thanks again!

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.