I'm working on a Wordpress Plugin and I'm looking for a way to include a free version and a premium version in one plugin.
I do not want to check "if(isPremium){} else{}" every view lines of codes, instead I'd like to download some additional files and replace one or two old once as soon as a premium license is activated. Can anyone give me a hint on how I could realize this functionality?
Best regards Macuser