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 |
---|---|
228 | </script> |
229 | <?php endif; ?> |
230 |
|
231 | <?php |
232 | /** |
233 | * Fires in the login page footer. |
234 | * |
235 | * @since 3.1.0 |
236 | */ |
237 | do_action( 'login_footer' ); ?> |
238 | <div class="clear"></div> |
239 | </body> |
240 | </html> |
241 | <?php |
242 | } |
243 |
|
244 | function wp_shake_js() { |
245 | if ( wp_is_mobile() ) |
246 | return; |
Line | Code |
819 |
|
820 | if ( !is_wp_error($user) && !$reauth ) { |
821 | if ( $interim_login ) { |
822 | $message = '<p class="message">' . __('You have logged in successfully.') . '</p>'; |
823 | $interim_login = 'success'; |
824 | login_header( '', $message ); ?> |
825 | </div> |
826 | <?php |
827 | /** This action is documented in wp-login.php */ |
828 | do_action( 'login_footer' ); ?> |
829 | <?php if ( $customize_login ) : ?> |
830 | <script type="text/javascript">setTimeout( function(){ new wp.customize.Messenger({ url: '<?php echo wp_customize_url(); ?>', channel: 'login' }).send('login') }, 1000 );</script> |
831 | <?php endif; ?> |
832 | </body></html> |
833 | <?php exit; |
834 | } |
835 |
|
836 | if ( ( empty( $redirect_to ) || $redirect_to == 'wp-admin/' || $redirect_to == admin_url() ) ) { |
837 | // 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. |