Filters content to display at the top of the login form.
Description
The filter evaluates just following the opening form tag element.
Parameters
$content
string- Content to display. Default empty.
$args
array- Array of login form arguments.
Source
$login_form_top = apply_filters( 'login_form_top', '', $args );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
Note: The filter
login_form_top
is not available in wp-login.php, so you cannot use to customize default login form. This will only works if you are using forms created bywp_login_form()
function.