Please how to use hook hivepress/v1/forms/user_register to include custom code in HivePress as mentioned at Add support for hCaptcha - #6 by GoVegan by @GoVegan @Ardain ? I will not use Google spyware on my site and need HCaptcha instead.
Thanks for your message — our team will reply shortly.
In the meantime, you can also get instant help from our AI Assistant, familiar with all the docs and solutions we’ve shared over the years.
Thanks for mentioning Code Snippets – WordPress plugin | WordPress.org in that topic. After installing that plugin, I go to Snippets > Add New > (PHP is selected by default)
Paste the code from that topic, starting “// Add hCaptcha to user register form”.
“Save and Activate” button.
After no cache page reload at https://my.site/account/login/?redirect=https%253A%252F%25my.site%252Fsubmit-listing%252F#user_register_modal
(registration form (email, password)), i am still unable to see the hcaptcha. I think that the code is not complete. Please post step by step instructions (ideally as i have already asked by updating existing post instead of bumping the topic).
Hi,
Please make sure that you’ve activated and configured the hCaptcha plugin: hCaptcha for WP – WordPress plugin | WordPress.org. Once the plugin is configured, add the PHP snippet to the Code Snippets plugin.
I’ve tested the snippet locally, and the captcha appears as expected: Enabling hCapthca | Loom.
P.S. Please note that the suggested solution was provided by a community member and is not an official integration. Community members, including Chris, kindly share their experience and help others, but such solutions may require additional adjustments depending on your setup.
Thanks, so I have added plugin named “hCaptcha for WP”, and in its wizard, selected an option to apply configuration automatically. Added hcaptcha sitekey, secret and “Check” button and then “Save” button on the bottom of the page. Also enabled some forms protection on the Integrations tab.
I can now see the registration form of HivePress having hCaptcha. Thank you for help kseniia.