WPSlash Licences

Disable Today from Delivery or Pickup Option on Checkout

Disable Today from Delivery or Pickup Option on Checkout – code snippet guide from WPSlash
Published
Updated
Reading time
1 minutes
Written by
WPSlash team

The following code snippets will disable Today option from Delivery or Pickup date options

For Pickup

Code
add_filter('woofood_enable_today_date_pickup', function() {
	
	
	return false;
});

For Delivery

Code
add_filter('woofood_enable_today_date_delivery', function() {
	
	
	return false;
});

Copy and paste the following snippets under your functions.php on your child theme .

All guides

FoodMaster (formerly WooFood)12 min read

Best Store Address Setup for Pickup

Compare single-address, multi-location, and directions-first pickup setups to reduce wrong-door visits and simplify checkout.

The plugins these guides are about

FoodMaster for restaurants, courier vouchers for the Greek market, marketplace sync and store tools, all for WooCommerce.

Browse plugins30-day money-back on every plugin