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 |
---|---|
277 | </script> |
278 | <?php endif; ?> |
279 |
|
280 | <?php |
281 | /** |
282 | * Fires in the login page footer. |
283 | * |
284 | * @since 3.1.0 |
285 | */ |
286 | do_action( 'login_footer' ); |
287 | ?> |
288 | <div class="clear"></div> |
289 | </body> |
290 | </html> |
291 | <?php |
292 | } |
293 |
|
294 | /** |
295 | * Outputs the Javascript to handle the form shaking. |
Line | Code |
967 | if ( ! is_wp_error( $user ) && ! $reauth ) { |
968 | if ( $interim_login ) { |
969 | $message = '<p class="message">' . __( 'You have logged in successfully.' ) . '</p>'; |
970 | $interim_login = 'success'; |
971 | login_header( '', $message ); |
972 | ?> |
973 | </div> |
974 | <?php |
975 | /** This action is documented in wp-login.php */ |
976 | do_action( 'login_footer' ); |
977 | ?> |
978 | <?php if ( $customize_login ) : ?> |
979 | <script type="text/javascript">setTimeout( function(){ new wp.customize.Messenger({ url: '<?php echo wp_customize_url(); ?>', channel: 'login' }).send('login') }, 1000 );</script> |
980 | <?php endif; ?> |
981 | </body></html> |
982 | <?php |
983 | exit; |
984 | } |
985 |
|