Hello,
I’m submitting a form using AJAX to REST API (not exactly, but actually a simple php which doesn’t have any standard wordpress actions / filters).
I’ve added the ReCaptcha using do_action('google_invre_render_widget_action');
on my page. (note: there are 2 forms on the same page where I’ve added this code).
Now I need to use appropriate recaptcha value in my AJAX call and then validate it from my PHP. I’m not sure how to do it. Can someone please guide me?