Disable hCaptcha in frontend except for login page
-
First, thanks for developing this useful plugin! I’m really happy with how it’s protecting login form on
wp-login.php
.I noticed that hCaptcha resources are loading across all frontend pages (including
<link rel='dns-prefetch' href='//hcaptcha.com' />
in the head), even though I only need the captcha functionality for the login form on wp-login.php. For privacy/GDPR compliance on my site, I’m trying to limit script loading to only where it’s actually needed.I was wondering: Is there a recommended way to configure hCaptcha to load only on the login page? Perhaps a filter or setting I might have missed?
I’ve already looked through:
- The plugin documentation
- Available settings
- Forum posts about conditional loading
Any guidance would be greatly appreciated! Even a small code snippet would be super helpful if there’s no built-in option.
- You must be logged in to reply to this topic.