I need to create a plugin that execute some code (an api name) after a shopper clicks a particular button of their wordpress.
Is it doable to make some button click on execute my operate ? If not i want to do that at the very least with the "Pay" button in Woocommerce web sites and naturally forestall the default behaviour.