Description
Filters the PayPal settings.
Parameters
$exp_pp
 (array) (required) An array of setting values.
$renew
 (string) (optional) Indicates this is a renewal.
Changelog
Introduced in version 0.3.0
Source
wpmem_exp_paypal is located in module.php
Usage
add_filter( 'wpmem_exp_paypal', 'my_exp_paypal', 10, 2 );
function my_exp_paypal( $exp_pp, $renew ) {
	
	// The paypal ID for the transaction (seller).
	$exp_arr['paypal_id'] = 1;
	
	// Is PayPal live or using the sandbox? (0|1)
	$exp_arr['paypal_live'] = 1;
	
	// Enables transaction log (0|1)
	$exp_arr['ipn_debug'] = 0;
	
	// post ID of the return page
	$exp_arr['login_page'] = 930;
	
	// Transaction type (_xclick|_xclick-subscriptions)
	$exp_arr['paypal_cmd'] = '_xclick';
	
	// Show button on successful registration (0|1)
	$exp_arr['show_button'] = 1;
	
	// Expires users on IPN refund message (0|1)
	$exp_arr['refunds'] = 1;
	return $exp_pp;
}See a list of all filter and action hooks