gform_stripe_no_subscriptions_found_message

Description

The gform_stripe_no_subscriptions_found_message filter in Gravity Forms allows filtering the message when no subscriptions are found in the Stripe customer portal.

Usage

Apply to all forms

add_filter( 'gform_stripe_no_subscriptions_found_message', 'your_function_name', 10, 3 );

You can also specify this per form by adding the form id after the hook name.

add_filter( 'gform_stripe_no_subscriptions_found_message_7', 'your_function_name', 10, 3 );

Parameters

  • $message string
    The message being filtered.

Placement

This code should be placed in the functions.php file of your active theme.

Since

This filter was added in Gravity Forms Stripe Add-On 4.2.

Source Code

This filter is located in GF_Stripe_Billing_Portal in gravityformsstripe/includes/class-gf-stripe-billing-portal.php.