Filters content to display at the top of the login form.
Description
The filter evaluates just following the opening form tag element.
Parameters
$contentstring- Content to display. Default empty.
$argsarray- 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_topis 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.