Freemius Auto Activation
Enables entering Freemius plugin activation codes via wp-config.php
by vovafeldman, squarecandy · github.com/squarecandy/freemius-auto-activation · website
★ 12stars
3forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/squarecandy/freemius-auto-activation/archive/refs/heads/main.zipDeclares an update source (https://github.com/squarecandy/freemius-auto-activation), so updates arrive through the plugin's own updater.
From the readme
freemius-auto-activation
Enables entering Freemius plugin activation codes via wp-config.php
Get started
1. Install and activate this plugin
2. Locate the "shortcode" of the plugin you want to activate. This is different from the standard slug for the plugin or the slug that will be found in the database and freemius database settings in the options table. It may be easiest to ask the plugin developer, but you can also look through the plugin code for a function that looks like this: function myprefixfs() { global $myprefixfs;. In this case the shortcode is myprefixfs. The function typically contains the fsdynamicinit function, so try searching for that string.
3. Add the following to your wp-config.php file.
If you have multiple freemius plugins, the FSSHORTCODES definition can also be an array:
4. Visit the plugin activation page in the dashboard. It should already be authorized with your key!
5. This process actually still adds your keys to the database, just as if you had typed it in manually. So if you prefer, when you're done with the activation, you can remove the settings definitions from wp-config and deactivate and/or delete this plugin.
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.2.5 | May 15, 2023 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.