Created
June 26, 2021 16:49
Star
You must be signed in to star a gist
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
// Changes the amount of time a WooCommerce Booking can remain in the cart before it is removed. Time is in minutes. | |
function ijab_change_inactive_cart_bookings_time() { | |
return 5; | |
} | |
add_filter( 'woocommerce_bookings_remove_inactive_cart_time', 'ijab_change_inactive_cart_bookings_time' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment