Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Abandoned cart time to 15 minutes
- * plugins/woocommerce-bookings/includes/admin/class-wc-bookings-tools.php:64
- * By alhoseany@yahoo.com
- */
- function custom_inactive_cart_time( $time ) {
- $time = 15; // minutes
- return $time;
- }
- add_filter( 'woocommerce_bookings_remove_inactive_cart_time', 'custom_inactive_cart_time' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement