Woocommerce disable checkout on specific day
A better approach in my opinion would be to redirect the cart and checkout pages to a static page with user friendly message. This shows how to get Various WooCommerce Page URLs, you can hook a function to init, that function will: See if the current URL matches the URL of the checkout or cart … Read more