Last active
May 18, 2016 03:46
-
-
Save mattallan/b0a593bac708af6917940e5815eacceb to your computer and use it in GitHub Desktop.
Force disable PP Reference Transactions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Disable PayPal Reference Transactions | |
* Plugin URI: | |
* Description: Force the store to use PP Standard. Helps to test both sides of PayPal :+1: | |
* Version: 1.0 | |
* Author: Matt Allan | |
* Author URI: http://prospress.com | |
* License: | |
*/ | |
add_filter( 'wooocommerce_subscriptions_paypal_reference_transactions_enabled', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment