gform_paypal_return_url_port

gform_paypal_return_url_port

DescriptionUsageParametersExamplesPlacementSinceSource Code

Description
This filter allow the port to be changed for the return_url that is sent to PayPal.
Usage
1add_filter( 'gform_paypal_return_url_port', 'your_function_name', 10, 1 );

Parameters

$server_port string
The current port.

Examples
1234add_filter( 'gform_paypal_return_url_port', 'change_port' );function change_port(){    return '81';}
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in the Gravity Forms PayPal Standard Add-On version 2.4.
Source Code
This filter is located in GFPayPal::return_url() in class-gf-paypal.php.

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注