WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
This hook occurs 2 times in this file.
Line | Code |
---|---|
426 | <?php |
427 | wp_print_inline_script_tag( wp_remove_surrounding_empty_script_tags( ob_get_clean() ) ); |
428 | } |
429 |
|
430 | /** |
431 | * Fires in the login page footer. |
432 | * |
433 | * @since 3.1.0 |
434 | */ |
435 | do_action( 'login_footer' ); |
436 |
|
437 | ?> |
438 | </body> |
439 | </html> |
440 | <?php |
441 | } |
442 |
|
443 | /** |
444 | * Outputs the JavaScript to handle the form shaking on the login page. |
Line | Code |
1349 | $message = '<p class="message">' . __( 'You have logged in successfully.' ) . '</p>'; |
1350 | $interim_login = 'success'; |
1351 | login_header( '', $message ); |
1352 |
|
1353 | ?> |
1354 | </div> |
1355 | <?php |
1356 |
|
1357 | /** This action is documented in wp-login.php */ |
1358 | do_action( 'login_footer' ); |
1359 |
|
1360 | if ( $customize_login ) { |
1361 | ob_start(); |
1362 | ?> |
1363 | <script>setTimeout( function(){ new wp.customize.Messenger({ url: '<?php echo wp_customize_url(); ?>', channel: 'login' }).send('login') }, 1000 );</script> |
1364 | <?php |
1365 | wp_print_inline_script_tag( wp_remove_surrounding_empty_script_tags( ob_get_clean() ) ); |
1366 | } |
1367 |
|