wordpress-sdk

The official SDK for integrating Freemius into WordPress plugins and themes, with in-dashboard checkout, subscriptions, lifetime licenses, license management, a

What is wordpress-sdk?

The official SDK for integrating Freemius into WordPress plugins and themes, with in-dashboard checkout, subscriptions, lifetime licenses, license management, automatic updates, and more.

Overview of wordpress-sdk

What it is

The official SDK for integrating Freemius into WordPress plugins and themes. It enables developers to add software licensing, secure checkout, subscriptions, automatic updates, and other Freemius platform features to their WordPress products.

Key features

  • Software Licensing - Secure Checkout - Subscriptions - Automatic Updates - Seamless EU VAT - Cart Abandonment Recovery - Affiliate Platform

Use cases

  • Monetizing WordPress plugins and themes with paid plans and subscriptions - Managing software licenses and automatic updates for premium products - Implementing secure in-dashboard checkout and payment handling - Tracking usage and analytics for product insights - Building a subscription-based business around WordPress products

Getting started

Add the latest version of the Freemius SDK into your WordPress project. After completing the SDK integration form in the Freemius Developer Dashboard, a snippet of code is generated. Copy and paste it into the top of your main plugin's PHP file (or functions.php for themes), right after the header comment. Example snippet: php if ( ! function_exists( 'my_prefix_fs' ) ) { function my_prefix_fs() { global $my_prefix_fs; if ( ! isset( $my_prefix_fs ) ) { require_once dirname(__FILE__) . '/freemius/start.php'; $my_prefix_fs = fs_dynamic_init( array( 'id' => '1234', 'slug' => 'my-new-plugin', 'premium_slug' => 'my-new-plugin-premium', 'type' => 'plugin', 'public_key' => 'pk_bAEfta69seKymZzmf2xtqq8QXHz9y', 'is_premium' => true, 'has_premium_version' => true, 'has_paid_plans' => true, 'is_org_compliant' => true, 'menu' => array( 'slug' => 'my-new-plugin', 'parent' => array( 'slug' => 'options-general.php', ), ), 'secret_key' => 'sk_ubb4yN3mzqGR2x8#P7r5&@*xC$utE', ) ); } return $my_prefix_fs; } my_prefix_fs(); do_action( 'my_prefix_fs_loaded' ); } For full documentation, see the repository README.

License and pricing

Licensed under GPL-3.0. The SDK is open source. No pricing information for the Freemius platform is provided in this repository.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/freemiuswordpress-sdk.svg)](https://yunodb.com/tools/freemiuswordpress-sdk?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/freemiuswordpress-sdk?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/freemiuswordpress-sdk.svg" alt="Featured on YunoDB" height="20"></a>