if ( Session::has_errors( 'expired_session' ) ) { echo '
' . Session::get_error( 'expired_session', false ) . '
'; } if ( Session::has_errors( 'expired_form_submission' ) ) { echo '
' . Session::get_error( 'expired_form_submission', false ) . '
'; }