CommentOct 3, 20171If it's a theme or plugin, you can separate the free version code from the premium one. Then the user will just replace the free version folder by the premium one.How to make PHP code in WordPress app safe from being edited by someone.