Major release!
- Added special logic to make sure that every Freemius powered plugin will ALWAYS be loaded with the newest SDK from the active Freemius powered plugins. Since Freemius SDK is backward compatible, this will make sure that all Freemius powered plugins will run correctly.
- Added new optional "permissions" parameter with "newsletter" to request permissions subscribing the user to your mailing list subscription. This data is currently only visual for the user; it's not stored on Freemius backend. Example:
fs_dynamic_init( array(
'id' => '1234',
'slug' => 'my_plugin_slug',
'public_key' => 'pk_123456781234567812345678',
'is_premium' => false,
'has_addons' => false,
'has_paid_plans' => false,
'menu' => array(
'slug' => 'my_plugin_slug',
'account' => false,
'support' => false,
),
'permissions' => array(
'newsletter' => true,
),
) );
- Created default "lighter" (less aggressive) opt-in message in case of users that get the opt-in after plugin update (already been using the plugin without Freemius platform). Goes like that (Thanks, Corey!):
Please help us improve My Plugin! If you opt-in, some data about your usage of My Plugin will be sent to freemius.com. If you skip this, that's okay! My Plugin will still work just fine.
- Closed issue #6. If account menu item is hidden, after email verification, redirect to plugin's main settings page instead of loading the account page.
- Added special mechanism to override all plugin's i18n strings - fs_override_i18n(array $key_value, $slug).
fs_override_i18n( array(
'opt-in-connect' => __( "Yes - I'm in!", '{your-text_domain}' ),
'skip' => __( 'Not today', '{your-text_domain}' ),
), 'your_plugin_slug' );