• Resolved andy_moyle

    (@andy_moyle)


    This plugin doesn’t seem to protect an instance of wp_login_form();

    In particular

    $out.=wp_login_form(array(‘echo’=>false));

    How can I make it work?

    • This topic was modified 1 year ago by andy_moyle.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    For some reason wp_login_form doesn’t run the login_form hook that we use ??

    Since you are not echoing the output running do_action( ‘login_form’ ); probably won’t help you either.

    Try adding the following before your wp_login_form() call:
    add_filter( 'login_form_bottom', array('WPCaptcha_Functions', 'captcha_fields'));
    add_action( 'login_form_bottom', array('WPCaptcha_Functions', 'login_print_scripts'));

    If that doesn’t work I don’t have any ideas ??

    Thread Starter andy_moyle

    (@andy_moyle)

    Doesn’t work – tried all sorts of ob_start() stuff too. Just can’t get the captch within the form when its not echo’d but returned.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_login_form()’ is closed to new replies.