Custom Captcha validation on the registration form issue

I think i over complicated a bit 🙂 using this hook woocommerce_register_post would simply things. This is my content of the custom-sum-captcha.php file: function custom_sum_captcha_generate_html() { $num1 = rand(1, 10); $num2 = rand(1, 10); $sum = $num1 + $num2; $html=”<p>Please solve the following math problem:</p>”; $html .= ‘<p>’ . $num1 . ‘ + ‘ . … Read more

Custom Registration and Login Forms with reCaptcha 2 Validation

First connect the CAPTCHA script (add to: functions.php) function onwp_enqueue_frontend() { wp_enqueue_script(‘ha-recaptcha’, ‘https://www.google.com/recaptcha/api.js’, array(‘jquery’), ‘1.0’, true); } add_action(‘wp_enqueue_scripts’, ‘onwp_enqueue_frontend’); In the form of adding the following html code to display the captcha <div class=”g-recaptcha” data-sitekey=”YOU_SITE_CODE”></div> YOU_SITE_CODE – replaced by your code Next, add the CAPTCHA validation feature $recaptcha = $_POST[‘data’][‘g_recaptcha_response’]; if (!empty($recaptcha)) { $google_url = … Read more

Capcha not getting displayed

I think you have problem in font files path. Just check this link. Please fix your font path. You can check this page for reference. Read the comment section of this page. Thanks

techhipbettruvabetnorabahisbahis forumutaraftarium24edueduseduseduseduedueduseduedusedu