Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    function tml_remove_reauth_message() {
        $tml = Theme_My_Login::get_object();
    
        if ( in_array( 'reauth', $tml->errors->get_error_codes() ) ) {
            $tml->errors->remove('reauth');
        }
    }
    add_action('template_redirect', 'tml_remove_reauth_message', 12);
    Thread Starter Gabriel Tadeu

    (@gtso86)

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change/hide reauth message’ is closed to new replies.