Description #
This filter is used when returning the order items during payment.
apply_filters('fluentform/submission_order_items', $items, $this->submissionData, $this->form);
Usage #
add_filter('fluentform/submission_order_items', function ($items, $submissionData, $form) {
// do your stuff
return $items;
}, 10, 3);
Parameters #
- $items(array) Order Items
- $submissionData (array) Input 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 -> getOrderItems($forced = false)