gform_paypal_business_email

Description

Allows changes to be made to the PayPal business email while validating the IPN from PayPal.

Usage

add_filter( 'gform_paypal_business_email', 'your_function_name', 10, 3 );

Parameters

Examples

add_filter( 'gform_paypal_business_email', 'change_email', 10, 3 );
function change_email( $paypalEmail, $feed, $entry ){
	$paypalEmail = '[email protected]';
	return $paypalEmail;
}

Placement

This code should be placed in the functions.php file of your active theme.

Source Code

This filter is located in GFPayPal::can_process_ipn() in gravityformspaypal/class-gf-paypal.php.