gform_paypal_get_payment_feed

Description

This filter allows the filtering of return configuration feeds.

Usage

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

Parameters

Examples

add_filter( 'gform_paypal_get_payment_feed', 'change_feed', 10, 3 );
function change_feed( $feed, $entry, $form ){
	$feed['meta']['feedName'] = 'Testing';
	return $feed;
}

Placement

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

Since

This filter was added in Gravity Forms PayPal Standard version 2.2.

Source Code

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