Support » Plugin: Invisible reCaptcha for WordPress » Does this work with wp_login_form ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter drazon

    (@drazon)

    Right now at least in my case I have the same issue as this https://wordpress.org/support/topic/issues-with-wp_login_form-inline-login-form/. Has the compatibility been fixed since then?

    Hi!

    I had the same problem and found a workaround adding this in my functions.php :

    
    function add_recaptcha_to_wp_login_form( $content )
    {
    	ob_start();
    	do_action('google_invre_render_widget_action');
    	$output = ob_get_contents();
    	ob_end_clean();
    	
    	$output = $content.$output;
    	
        return $output;
    }
    add_filter( 'login_form_bottom', 'add_recaptcha_to_wp_login_form' );
    

    Maybe this can help you.

    • This reply was modified 3 months, 3 weeks ago by alhrath.
    Thread Starter drazon

    (@drazon)

    Worked as a charm thank you very much!

    Glad it helped 🙂 Would be nice if the dev team comment here if one dey they hook google_invre_render_widget_action in wp_login_form, so we can remove the filter then ^^

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.