Description
Outputs the header for the login page.
Usage
<?php login_header($title, $message, $wp_error) ?>
Parameters
- $title
- (string) (optional) Login In Page title to display in <title/> element.
- Default: 'Log In'
- $message
- (string) (optional) Message to display in header
- Default: ""
- $wp_error
- (WP_Error) (optional) WordPress Error Object
- Default: WP_Error
Examples
From wp_login.php:
<?php
$errors = new WP_Error();
...e
login_header(__('Reset Password'), '<p class="message reset-pass">' . __('Enter your new password below.') . '</p>', $errors );
?>
Default Usage
Actions
- Calls login_head for outputting HTML in the Log In header.
Filters
Change Log
Source File
login_header() is located in wp-login.php
Related