login_form_middle filter-hookWP 3.0.0

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

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


add_filter( 'login_form_middle', 'wp_kama_login_form_middle_filter', 10, 2 );

 * Function for `login_form_middle` filter-hook.
 * @param string $content Content to display.
 * @param array  $args    Array of login form arguments.
 * @return string
function wp_kama_login_form_middle_filter( $content, $args ){

	// filter...
	return $content;
Content to display.
Default: ''
Array of login form arguments.


Since 3.0.0 Introduced.

Where the hook is called

wp-includes/general-template.php 573
$login_form_middle = apply_filters( 'login_form_middle', '', $args );

Where the hook is used in WordPress

Usage not found.