wphooks.info - login_messages

login_messages

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

/wp-login.php:
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
			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.
			 */
			echo '<p class="message">' . apply_filters( 'login_messages', $messages ) . "</p>\n";
		}
	}
} // End of login_header()

/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *