wphooks.info - login_message

login_message

(trunk - 5.0-alpha-43320)

The hook occurs in the following file:

/wp-login.php:
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
	unset( $login_header_url, $login_header_title );

	/**
	 * Filters the message to display above the login form.
	 *
	 * @since 2.1.0
	 *
	 * @param string $message Login message text.
	 */
	$message = apply_filters( 'login_message', $message );
	if ( ! empty( $message ) ) {
		echo $message . "\n";
	}

	// In case a plugin uses $error rather than the $wp_errors object
	if ( ! empty( $error ) ) {
		$wp_error->add( 'error', $error );
		unset( $error );
	}