Support » Plugin: SimpleModal Login » [Plugin: SimpleModal Login] Inconsistent Implementation of login_form Hook

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eric Martin

    (@emartin24)

    Thanks for your feedback.

    I certainly don’t want to have the plugin act inconsistently with what is expected.

    Off the top of my head, I’m not sure what the best way would be to change the plugin to 1) act consistently and 2) work as needed. If you have any suggestions, I’d be happy to hear them.

    -Eric

    Hi Eric,

    The least obtrusive method would be to wrap the do_action calls in an output buffer and append the output, like so:

    ob_start();
    do_action('login_form');
    $output .= ob_get_clean();
    ob_start();
    do_action('register_form');
    $output .= ob_get_clean();

    Hope that helps.

    Brent

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: SimpleModal Login] Inconsistent Implementation of login_form Hook’ is closed to new replies.