login_footer

The WordPress Core login footer hook.

Description

add_action( 'login_footer', (string) $wp_print_footer_scripts, (int) $int ); 

Parameters (2)

0. $wp_print_footer_scripts (string) => 'wp_print_footer_scripts'
The wp print footer scripts.
1. $int (int) => 20
The int.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'login_footer', $wp_print_footer_scripts, $int ); 
The following example is for adding a hook callback.
  1. // define the login_footer callback 
  2. function action_login_footer( $wp_print_footer_scripts, $int ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'login_footer', 'action_login_footer', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'login_footer', 'action_login_footer', 10, 2 ); 

Defined (3)

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

/wp-includes/default-filters.php  
  1. add_action( 'login_footer', 'wp_print_footer_scripts', 20 ); 
/wp-login.php  
  1. do_action( 'login_footer' ); ?> 
  1. do_action( 'login_footer' ); ?>