Last active
June 9, 2016 17:18
-
-
Save butlerblog/ce3581720073dd7b4e24d14886e80541 to your computer and use it in GitHub Desktop.
Sets WP-Members PayPal Module log file to verbose output.
This file contains 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 | |
This file contains 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 | |
$defaults = array( | |
'paypal_live' => 0, | |
'ipn_debug' => 0, | |
'paypal_id' => '', | |
'show_button' => 1 | |
); | |
// $defaults does not include 'verbose_log' by default |
This file contains 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 | |
/* | |
* This script is for the WP-Members PayPal Subscription extension | |
* which is avialable to subscribers of the WP-Members premium | |
* support site http://rocketgeek.com | |
*/ | |
// Add below this line to functions.php | |
add_filter( 'wpmem_exp_ipn_defaults', function($args){ | |
$args['verbose_log'] = true; | |
return $args; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment