login_form_bottom

Filters content to display at the bottom of the login form.

Description

apply_filters( 'login_form_bottom', (string) $var, (array) $args ); 

The filter evaluates just preceding the closing form tag element.

Parameters (2)

0. $var (string) => ''
Content to display. Default empty.
1. $args (array)
Array of login form arguments.

Usage

To run the hook, copy the example below.
  1. $var = apply_filters( 'login_form_bottom', $var, $args ); 
  2.  
  3. if ( !empty( $var ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the login_form_bottom callback 
  2. function filter_login_form_bottom( $var, $args ) { 
  3. // make filter magic happen here... 
  4. return $var
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'login_form_bottom', 'filter_login_form_bottom', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'login_form_bottom', 'filter_login_form_bottom', 10, 2 ); 

Defined (1)

The filter is defined in the following location(s).

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