Summery Summery
Outputs the footer for the login page.
Syntax Syntax
Parameters Parameters
- $input_id
-
(Optional) Which input to auto-focus.
Default value: ''
Source Source
File: wp-login.php
?> <p id="backtoblog"><a href="<?php echo esc_url( home_url( '/' ) ); ?>"> <?php /* translators: %s: Site title. */ printf( _x( '← Back to %s', 'site' ), get_bloginfo( 'title', 'display' ) ); ?> </a></p> <?php the_privacy_policy_link( '<div class="privacy-policy-page-link">', '</div>' ); } ?> </div><?php // End of <div id="login">. ?> <?php if ( ! empty( $input_id ) ) { ?> <script type="text/javascript"> try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){} if(typeof wpOnload=='function')wpOnload(); </script> <?php } /** * Fires in the login page footer. * * @since 3.1.0 */ do_action( 'login_footer' ); ?> <div class="clear"></div> </body> </html> <?php } /** * Outputs the Javascript to handle the form shaking. * * @since 3.0.0
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |