Filters

Where to put the code?

Any time you add a custom PHP function to your site, insert it in the Code Snippets plugin (recommended), a child theme's functions.php, or your custom plugin. The Code Snippetsopen in new window plugin is the recommended option.

IMPORTANT: Before making any PHP changes, make sure you have FTP access so you can still access your site if there are any mistakes in your code.

You can find more details in the WordPress docsopen in new window if you need to get more familiar with using WordPress action/filters.

um_stripe_api_version

Validates the Stripe API keys when receiving the Webhook Payload This invokes the admin notice when keys are invalid.

um_stripe_checkout_sessions_create_argsSince 1.0.0

Filter array before checkout sessions creation

um_stripe_customer_portal_subscription_cancel__enabledSince 1.2.5

Filter to Enable Subscription Cancellation feature in Customer Portal

um_stripe_enable_unique_billing_emailSince 1.0.0

Allow unique billing email

um_stripe_filter__is_subscribed_querySince 1.4.3

Filter Subcriptions query

um_stripe_webhook_nameSince 1.0.0

Modify Stripe Webhook name

umm_stripe_already_subscribed_textSince 1.0.0

Modify text that's displayed when a user is already subscribed.

umm_stripe_billing_configurationSince 1.0.0

Filter billing configuration before creating the Stripe billing portal.

umm_stripe_billing_portal_session_configurationSince 1.0.8

Filter billing portal session configuration before creating the Stripe billing portal.

umm_stripe_checkout_details_date_formatSince 1.0.2

Change date format in Checkout details

umm_stripe_predefined_pages_restrictedSince 1.0.0

Restrict predefined pages.

umm_stripe_roles_exclude_from_listSince 1.0.0

Exclude protected roles from the List