login_form_middle WordPress Filter Hook

The login_form_middle hook is used to add content to the middle of the login form. This hook is used by plugins and themes to add custom content to the login form, such as social login buttons or custom messages.

apply_filters( 'login_form_middle', string $content, array $args ) #

Filters content to display in the middle of the login form.


Description

The filter evaluates just following the location where the ‘login-password’ field is displayed.


Top ↑

Parameters

$content

(string)Content to display. Default empty.

$args

(array)Array of login form arguments.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More