Description #
This filter is used during submission to et submission data when the form has a payment option.
apply_filters('fluentform/payment_submission_data', $submission, $this->form)
Usage #
add_filter('fluentform/payment_submission_data', function ($submission, $form) {
// do your stuff
return $submission;
}, 10, 2);
Parameters #
- $submission(array) Submission Data
- $form (object) Form Object
Placement #
This code should be placed in the functions.php file of your active theme.
Source Code #
This filter is located in FluentFormPro\src\Payments\Classes\PaymentAction -> draftFormEntry()