login_footer
The WordPress Core login footer hook.
Description
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.
- // run the action
- do_action( 'login_footer', $wp_print_footer_scripts, $int );
- The following example is for adding a hook callback.
- // define the login_footer callback
- function action_login_footer( $wp_print_footer_scripts, $int ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'login_footer', 'action_login_footer', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the action
- 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
- add_action( 'login_footer', 'wp_print_footer_scripts', 20 );
- /wp-login.php
- do_action( 'login_footer' ); ?>
- do_action( 'login_footer' ); ?>