Tribe__Events__Community__Main::output_login_form_notices()
Add the login form notices, such as a failed login message.
Source
File: src/Tribe/Main.php
public function output_login_form_notices() { if ( 'failed' === tribe_get_request_var( $this->login_form_id ) ) { $output = '<div id="login_error" class="tribe-community-notice tribe-community-notice-error">'; $output .= sprintf( _x( '%1$sERROR%2$s: Invalid username, email address, or incorrect password.', 'failed login message', 'tribe-events-community' ), '<strong>', '</strong>' ); $output .= '</div>'; echo $output; } }
Changelog
Version | Description |
---|---|
4.6.3 | Introduced. |