Download the PHP package license-bridge/wordpress-sdk without Composer
On this page you can find all versions of the php package license-bridge/wordpress-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download license-bridge/wordpress-sdk
More information about license-bridge/wordpress-sdk
Files in license-bridge/wordpress-sdk
Package wordpress-sdk
Short Description License Bridge WordPress SDK
License GPL-3.0-only
Homepage https://license-bridge.com
Informations about the package wordpress-sdk
WordPress-SDK
This is official License Bridge WordPress SDK. Adding this SDK to your WordPress plugin you enables all features that comes with License Bridge platform.
- Licensing for WordPress plugin
- Landing page with Secure Checkout for customers to purchase a license. After purchase plugin will be auto updated with premium version.
- Recurring Payments - Build a sustainable business with recurring payments. Sell annual or monthly subscriptions.
- Automatic Updates for WordPress plugins & themes
Integrate SDK with WordPress plugin
This is an example how you can create your own unique method that will be used in your plugin only, and your global variable that will hold SDK.
Make sure to replace my_license
with your own referrence.
- plugin-slug is your plugin slug usualy created like this:
plugin_basename(__FILE__)
- license-product-slug is a slug that represent your product/plugin/theme on License Bridge platform. LINK To HELP FILE
Usage example
To access to the SDK you can use the global variable you created for your own plugin.
Or by calling the custom method that will return SDK without creating it each time.
Get a unique landing page URL for your product
Check if the user has a license key
Check if the license is active
Get a license details
Response can be false is license does not exist. Expected response is an array with license details:
Cancel the user license request
Sometimes, when the user is subscribed to your plugin, you can allow a user to cancel subscription to your plugin. This is how the user can cancel license subscription.
License
Copyright (c) License Bridge.
Licensed under the GNU general public license (version 3).