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 3 times in this file.
Line | Code |
---|---|
575 | </form> |
576 |
|
577 | <p id="nav"> |
578 | <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e('Log in') ?></a> |
579 | <?php |
580 | if ( get_option( 'users_can_register' ) ) : |
581 | $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
582 |
|
583 | /** This filter is documented in wp-includes/general-template.php */ |
584 | echo ' | ' . apply_filters( 'register', $registration_url ); |
585 | endif; |
586 | ?> |
587 | </p> |
588 |
|
589 | <?php |
590 | login_footer('user_login'); |
591 | break; |
592 |
|
593 | case 'resetpass' : |
Line | Code |
684 | </form> |
685 |
|
686 | <p id="nav"> |
687 | <a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a> |
688 | <?php |
689 | if ( get_option( 'users_can_register' ) ) : |
690 | $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
691 |
|
692 | /** This filter is documented in wp-includes/general-template.php */ |
693 | echo ' | ' . apply_filters( 'register', $registration_url ); |
694 | endif; |
695 | ?> |
696 | </p> |
697 |
|
698 | <?php |
699 | login_footer('user_pass'); |
700 | break; |
701 |
|
702 | case 'register' : |
Line | Code |
941 | </form> |
942 |
|
943 | <?php if ( ! $interim_login ) { ?> |
944 | <p id="nav"> |
945 | <?php if ( ! isset( $_GET['checkemail'] ) || ! in_array( $_GET['checkemail'], array( 'confirm', 'newpass' ) ) ) : |
946 | if ( get_option( 'users_can_register' ) ) : |
947 | $registration_url = sprintf( '<a href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) ); |
948 |
|
949 | /** This filter is documented in wp-includes/general-template.php */ |
950 | echo apply_filters( 'register', $registration_url ) . ' | '; |
951 | endif; |
952 | ?> |
953 | <a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php esc_attr_e( 'Password Lost and Found' ); ?>"><?php _e( 'Lost your password?' ); ?></a> |
954 | <?php endif; ?> |
955 | </p> |
956 | <?php } ?> |
957 |
|
958 | <script type="text/javascript"> |
959 | function wp_attempt_focus(){ |