This extra snippet will check if a license was previously activated, and if it does, will activate it through Freemius in the background.
- You will need to replace
my_fs()with your theme's relevant shortcode. - You will need to rename the function
my_fs_license_key_migration()to a unique name. - You will need to rename
'my_fs_migrated2fs'to a unique option name. - You will need to replace
my_get_license_key_from_prev_platform_storage()with some logic that fetches the theme's license key.