login_message

login_message

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('login_message') is found 1 times:

  • /wp-login.php line 221
    	 * @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.
    

See this hook used in plugins: