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