Someone else needed an example so I figured i would release this as Freeware If you would like the script and its useful subscribe to my youtube channel here
commented code to show what areas are what in the code NOTE: this does not stop someone from sharing there account details, so you should use a wordpress plugin to limit the number of ip's allowed to login from to an account on a daily basis, or also log the ip address of sorts. this is a very basic way to lock down the software, and is by no means an anti theft measure as its easily able to be bypassed.
comment("License will