Please login to view this question
// Call the Google reCAPTCHA verification API on the login form page function login_style() { wp_register_script('login-recaptcha', 'https://www.google.com/recaptcha/api.js', false, NULL); wp_enqueue_script('login-recaptcha'); } add_action('login_enqueue_scripts', 'login_style'); // Add Google CAPTCHA on login form page function add_recaptcha_on_login_page() { echo '
'; } add_action('login_form','add_recaptcha_on_login_page');