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 the pro version src/Payments/Classes/PaymentAction.php

Powered by BetterDocs

Leave a Reply

Your email address will not be published. Required fields are marked *