Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: login_footer

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

This hook occurs 2 times in this file.

Line Code
143      </div>
144
145      <?php if ( !empty($input_id) ) : ?>
146      <script type="text/javascript">
147      try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){}
148      if(typeof wpOnload=='function')wpOnload();
149      </script>
150      <?php endif; ?>
151
152      <?php do_action('login_footer'); ?>
153      <div class="clear"></div>
154      </body>
155      </html>
156      <?php
157 }
158
159 function wp_shake_js() {
160      if ( wp_is_mobile() )
161           return;
 
Line Code
608
609                if ( ! $customize_login ) : ?>
610                     <script type="text/javascript">setTimeout( function(){window.close()}, 8000);</script>
611                     <p class="alignright">
612                     <input type="button" class="button-primary" value="<?php esc_attr_e('Close'); ?>" onclick="window.close()" /></p>
613 <?php          endif;
614
615                ?></div><?php
616
617                do_action('login_footer');
618
619                if ( $customize_login ) : ?>
620                     <script type="text/javascript">setTimeout( function(){ new wp.customize.Messenger({ url: '<?php echo wp_customize_url(); ?>', channel: 'login' }).send('login') }, 1000 );</script>
621 <?php          endif; ?>
622                </body></html>
623 <?php          exit;
624           }
625
626           if ( ( empty( $redirect_to ) || $redirect_to == 'wp-admin/' || $redirect_to == admin_url() ) ) {