Aug 29, 2022 1:33 pm
Hello, I am a blog owner in mainland of China. We can only use www.recaptcha.net for the recaptcha request domain and www.google.com was banned in mainland of China. So, if I use the default setting, the recaptcha would not be loaded.
Please help me change it into www.recaptcha.net.
Thanks!
1 Reply
Aug 30, 2022 5:48 am
Hi @mihu233.
Please use this filter:
add_filter('wpdiscuz_recaptcha_url', function($url){ return 'https://your_url.com'; });
Putting this hook code in the WordPress active theme functions.php file (more information how to add insert custom code):