Skip to content

Conversation

@swashata
Copy link
Contributor

New License Lifecycle Hooks, Checkout Customization, and InstaWP Support

We are releasing version 2.13.0 of the Freemius WordPress SDK, introducing several enhancements and new developer-focused features.

License Lifecycle Hooks

Two new action hooks have been added to help developers manage license lifecycle events:

  • after_license_activation: Triggered after a license is successfully activated.
  • after_license_deactivation: Triggered after a license is successfully deactivated.

These can be used along with the existing after_license_change hook to perform custom actions when a license’s status changes. This is particularly helpful if you maintain your own license management system and need to keep it in sync with Freemius.

You can read more about all supported hooks and filters in our documentation.

Payments Now Show the Gross Amount

Previously, we showed the Net amount in the payments list within the Accounts page, excluding taxes. This sometimes caused confusion in regions where taxes apply.

payment-table

To address this, the payments list now displays the Gross amount, including all applicable taxes, giving a clearer picture of the total transaction value.

New Filter to Customize Checkout Parameters

We’ve added a new filter checkout/parameters that allows you to customize the checkout parameters.

For example, to force-show the social proofing UI with the billing cycle selector in the Checkout:

my_fs()->add_filter( 'checkout/parameters', function() {
    return array(
        'show_refund_badge'      => true,
        'show_reviews'           => true,
        'billing_cycle_selector' => 'dropdown',
    );
} );

With this filter, the Checkout will load with the corresponding UI.

checkout-customized

Please note that not all parameters can be customized — some may still be overridden by your pricing page configuration. We recommend using this only when generating a custom pricing page or checkout links.

Updated Pricing Page

We’ve included version 1.3.0 of the pricing page app, which brings the following improvements:

  1. Fixed a bug related to calculating the largest annual discount.
  2. Improved the security and social proofing badges.
pricing-page

If you’re not using a custom pricing page, no action is needed. If you are, please review the new release on GitHub to update your fork.

Support for New InstaWP Staging Environment

We now fully support the new InstaWP staging environment. The plugin will automatically switch to safe mode when used in cloned environments. You can read more about it in our documentation.

fajardoleo and others added 6 commits September 30, 2025 16:11
… has matching values to the customer portal and invoice. (#829)
* Added InstaWP new TLDs as valid develop domains

* [sandbox-sites] Also update the playground environment subdomains with the new ones for InstaWP's additional staging TLDs.

---------

Co-authored-by: Daniele Alessandra <daniele@freemius.com>
Co-authored-by: Leo Fajardo <leo@freemius.com>
Feature/daniele/checkout custom parameters (#819)

# Conflicts:
#	start.php

* Flat checkout properties

* feat(checkout): allow customizing checkout query params via filter

Introduce a namespaced filter to let developers add/modify query params sent to Freemius Checkout.
	•	Add fs_apply_filter( $fs->get_unique_affix(), 'checkout_query_params', ... )

* Add allowlist for checkout query parameters in FS_Checkout_Manager

Introduced the private $_allowed_custom_params property to define all supported
custom query parameters for the checkout. After applying `fs_apply_filter()`,
the function now filters `$filtered_params` using `array_intersect_key()` to
remove any unsupported keys before merging. This prevents external filters from
injecting unexpected parameters into the checkout query.

* Changed filter name to checkout/parameters, code clean and small fixes

---------

Co-authored-by: Daniele Alessandra <daniele@freemius.com>
Updated pricing-page
@swashata swashata merged commit 3cbe98b into master Nov 11, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants