gform_zapier_use_stored_body

gform_zapier_use_stored_body

DescriptionUsageParametersExamplesPlacementSinceSource Code

Description
The 「gform_zapier_use_stored_body」 filter is used to determine if the already stored body should be used.
Usage
add_filter( 'gform_zapier_use_stored_body', 'your_function_name', 10, 4 );

Parameters

$use_body bool
If the current body should be used. Defaults to true.

$entry Entry Object
The current entry.

$form Form Object
The form object.

$feed Feed Object
The feed object.

Examples
add_filter( 'gform_zapier_use_stored_body', 'use_body', 10, 4 );
function use_body( $use_body, $entry, $form, $feed ){
return false;
}

Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Gravity Forms Zapier version 2.1.1.
Source Code
This filter is located in GFZapier::get_body() in zapier.php.

发表回复

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