'; return $content . $captcha_html; } add_filter('pdb-signup-form', 'add_captcha_to_pdb_form'); function validate_pdb_captcha($submitted_values) { $captcha = $_POST['g-recaptcha-response']; $secretKey = "6LdOhjIrAAAAALAzn1uZzQf4_SFGP63Q0ieopqEZ"; $response = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=$secretKey&response=$captcha"); $responseKeys = json_decode($response, true); if (!$responseKeys["success"]) { die("CAPTCHA validation failed. Please try again."); } } add_action('pdb-before_validate_signup', 'validate_pdb_captcha'); */ function generate_math_captcha() { $num1 = rand(1, 10); $num2 = rand(1, 10); $sum = $num1 + $num2; $_SESSION['math_captcha_answer'] = $sum; return "$num1 + $num2 = ?"; } BHRN
  • Brant-Human-Resources-Network-Hero (1)

    CHECK US OUT..

    • If you are in a role where understanding and staying ahead of current and emerging employment issues is a responsibility, you will find value in many of the speakers and other events regularly sponsored by the BHRN.
    • Our members, from all of the above, include business owners, managers and practitioners in hands-on roles across many functions, including General Management, Finance and Health & Safety.
    • Featured guest speakers presenting on topical human resource issues

    Sign Up

Brant Human Resources Network is a non profit organization that provides a local forum for discussion, learning, and support to people involved in  all areas of  human resources or management generally.