Created
December 6, 2023 10:03
-
-
Save plugin-republic/af3297a4e38bef649b8a5da5fa4ac550 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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