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 |
---|---|
221 | </script> |
222 | <?php endif; ?> |
223 |
|
224 | <?php |
225 | /** |
226 | * Fires in the login page footer. |
227 | * |
228 | * @since 3.1.0 |
229 | */ |
230 | do_action( 'login_footer' ); ?> |
231 | <div class="clear"></div> |
232 | </body> |
233 | </html> |
234 | <?php |
235 | } |
236 |
|
237 | function wp_shake_js() { |
238 | if ( wp_is_mobile() ) |
239 | return; |
Line | Code |
760 |
|
761 | if ( !is_wp_error($user) && !$reauth ) { |
762 | if ( $interim_login ) { |
763 | $message = '<p class="message">' . __('You have logged in successfully.') . '</p>'; |
764 | $interim_login = 'success'; |
765 | login_header( '', $message ); ?> |
766 | </div> |
767 | <?php |
768 | /** This action is documented in wp-login.php */ |
769 | do_action( 'login_footer' ); ?> |
770 | <?php if ( $customize_login ) : ?> |
771 | <script type="text/javascript">setTimeout( function(){ new wp.customize.Messenger({ url: '<?php echo wp_customize_url(); ?>', channel: 'login' }).send('login') }, 1000 );</script> |
772 | <?php endif; ?> |
773 | </body></html> |
774 | <?php exit; |
775 | } |
776 |
|
777 | if ( ( empty( $redirect_to ) || $redirect_to == 'wp-admin/' || $redirect_to == admin_url() ) ) { |
778 | // If the user doesn't belong to a blog, send them to user admin. If the user can't edit posts, send them to their profile. |