Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
add_filter( 'woocommerce_cart_needs_payment', '__return_false' );

This comment has been minimized.

Copy link

@kaushal83anil kaushal83anil commented Dec 1, 2020

Hi I had checked this filter and used in one of my theme but its still return a error on check out page is there any other option to disable that validation error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment