Skip to content

Instantly share code, notes, and snippets.

@plugin-republic
Created December 6, 2023 10:03
Show Gist options
  • Save plugin-republic/af3297a4e38bef649b8a5da5fa4ac550 to your computer and use it in GitHub Desktop.
Save plugin-republic/af3297a4e38bef649b8a5da5fa4ac550 to your computer and use it in GitHub Desktop.
<?php
/**
* Allow more than one booking in the cart
*/
function prefix_max_bookings_in_cart() {
return 99;
}
add_filter( 'bfwc_max_bookings_in_cart', 'prefix_max_bookings_in_cart' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment