Skip to content

Instantly share code, notes, and snippets.

@InpsydeNiklas
Last active July 22, 2022 19:04
Show Gist options
  • Save InpsydeNiklas/3aab3560fe8e420850a6a5421ca1de4e to your computer and use it in GitHub Desktop.
Save InpsydeNiklas/3aab3560fe8e420850a6a5421ca1de4e to your computer and use it in GitHub Desktop.
Disable PayPal Payments basic Checkout validation in version 1.9.0+
<?php
add_filter('woocommerce_paypal_payments_basic_checkout_validation_enabled', function($enabled) {
return false;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment