I’m having a bit of a mental block at the moment. I have two buttons in a WP plugin that need to run separate functions. I can only think of one way to do it but it doesn’t sound like the best solution.
Encase each button in a form with a hidden field. Is there a better way?
Precisely what was needed, thanks