DescriptionUsageParametersPlacementSinceSource Code
Description
Filter line item name when there are coupon discounts applied to the payment.
Usage
$line_items_name = apply_filters( 'gform_stripe_discounted_line_items_name', esc_html__( 'Payment with Discounts', 'gravityformsstripe' ), $feed, $submission_data, $form, $entry );
Parameters
$name string
The line item name of the discounted order.
$feed array
The feed object currently being processed.
$submission_data array
The customer and transaction data.
$form array
The form object currently being processed.
$entry array
The entry object currently being processed.
Placement
This code should be placed in the functions.php file of your active theme.
Since
This filter was added in Stripe v3.0.3.
Source Code
This filter is located in class-gf-stripe.php.