wphooks.info - login_messages

login_messages

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

/wp-login.php:
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
			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.
 *
 * @param string $input_id Which input to auto-focus
 */