Created
June 26, 2021 16:49
-
-
Save billrobbins/2337e245e8a45e85dcf235ab606cb72c to your computer and use it in GitHub Desktop.
This file contains hidden or 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