Plugin creation questions
Hi,
I'm trying to develop a plugin that will call a remote API to validate a user, however the documentation is rather sparse (to put it politely). After hrs of struggling I can now toggle my plugin enabled/disabled, and also to have its own settings page which sets settings into the config file.
However, I'm now stuck and have a few questions.
(a) How do I implement a button on my plugins settings page which the user can click and have it test run some validation of what the user has input (i.e. to check the API key they've used). I imagine this is using the Forms class (which I've used to create the form) and anchor creation and what-not, but don't know the specifics. Any suggestions?
(b) Once I've been able to confirm the API I should be able to get to the meat of it. What would the plugin class etc be that I'd want to call if I wanted to intercept a user registration and add a box to it for their product key?
Thanks