login_form_top WordPress Filter Hook
The login_form_top hook is used to add content to the top of the login form. This is typically used to add custom fields to the login form.
apply_filters( 'login_form_top', string $content , array $args ) #
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
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |