Filter hook 'login_form_bottom'

in WP Core File wp-includes/general-template.php at line 594

View Source

login_form_bottom

Filter Hook
Description
Filters content to display at the bottom of the login form. The filter evaluates just preceding the closing form tag element.

Hook Information

File Location wp-includes/general-template.php View on GitHub
Hook Type Filter
Line Number 594

Hook Parameters

Type Name Description
string $content Content to display. Default empty.
array $args Array of login form arguments.

Usage Examples

Basic Usage
<?php
// Hook into login_form_bottom
add_filter('login_form_bottom', 'my_custom_filter', 10, 2);

function my_custom_filter($content, $args) {
    // Your custom filtering logic here
    return $content;
}

Source Code Context

wp-includes/general-template.php:594 - How this hook is used in WordPress core
<?php
 589  	 * @since 3.0.0
 590  	 *
 591  	 * @param string $content Content to display. Default empty.
 592  	 * @param array  $args    Array of login form arguments.
 593  	 */
 594  	$login_form_bottom = apply_filters( 'login_form_bottom', '', $args );
 595  
 596  	$form =
 597  		sprintf(
 598  			'<form name="%1$s" id="%1$s" action="%2$s" method="post">',
 599  			esc_attr( $args['form_id'] ),

PHP Documentation

<?php
/**
	 * Filters content to display at the bottom of the login form.
	 *
	 * The filter evaluates just preceding the closing form tag element.
	 *
	 * @since 3.0.0
	 *
	 * @param string $content Content to display. Default empty.
	 * @param array  $args    Array of login form arguments.
	 */
Quick Info
  • Hook Type: Filter
  • Parameters: 2
  • File: wp-includes/general-template.php
Related Hooks

Related hooks will be displayed here in future updates.