gform_icontact_request_args

gform_icontact_request_args

DescriptionUsageParametersExamplesSource Code

Description
Filter the options array so that is modifiable before sending requests to iContact.
Usage
add_filter( 'gform_icontact_request_args', 'my_function', 10, 4 );

Parameters

$options array
Query arguments to be sent in the request.

$action string
The action being sent to the iContact API, passed in the URL.

$method string
The request method being used. Example: GET.

$return_key string
The array key desired from the response.

Examples
function my_function( $options, $action, $method, $return_key ) {
//Do something here
return $options;
}
add_filter( 'gform_icontact_request_args', 'my_function', 10, 4 );

Source Code
This action hook is located in class-icontact.php.

发表回复

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