/** * Disable all payment gateways on checkout page */ // Disables all payment gateways and replaces the 'Pay' button by 'Place order' // Orders are processed as usual but require no payment for completion // https://remicorson.com/how-to-disable-all-payment-gateways-in-woocommerce/ add_filter('woocommerce_cart_needs_payment', '__return_false');