Skip to content

Instantly share code, notes, and snippets.

@mattallan
Last active May 18, 2016 03:46
Show Gist options
  • Save mattallan/b0a593bac708af6917940e5815eacceb to your computer and use it in GitHub Desktop.
Save mattallan/b0a593bac708af6917940e5815eacceb to your computer and use it in GitHub Desktop.
Force disable PP Reference Transactions
<?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