Thursday, August 11, 2022

Put Woocommerce Store into Vacation Mode

// This snippet will remove the single product page "Add to Cart" Button//

 /* STORE VACATION */

add_filter( 'woocommerce_is_purchasable', '__return_false' );