wphooks.info - login_errors

login_errors

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

/wp-login.php:
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
			}
		}
		if ( ! empty( $errors ) ) {
			/**
			 * Filters the error messages displayed above the login form.
			 *
			 * @since 2.1.0
			 *
			 * @param string $errors Login error message.
			 */
			echo '<div id="login_error">' . apply_filters( 'login_errors', $errors ) . "</div>\n";
		}
		if ( ! empty( $messages ) ) {
			/**
			 * Filters instructional messages displayed above the login form.
			 *
			 * @since 2.5.0
			 *
			 * @param string $messages Login messages.
			 */