register

register

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('register') is found 4 times:

  • /wp-includes/general-template.php line 713
    	 * @since 1.5.0
    	 *
    	 * @param string $link The HTML code for the link to the Registration or Admin page.
    	 */
    	$link = apply_filters( 'register', $link );
    
    	if ( $display ) {
    		echo $link;
    	} else {
    		return $link;
    	}
    
  • /wp-login.php line 916

    echo esc_html( $login_link_separator );

    /** This filter is documented in wp-includes/general-template.php */
    echo apply_filters( ‘register’, $registration_url );
    }

    ?>

  • /wp-login.php line 1080

    echo esc_html( $login_link_separator );

    /** This filter is documented in wp-includes/general-template.php */
    echo apply_filters( ‘register’, $registration_url );
    }

    ?>

  • /wp-login.php line 1559
    				if ( get_option( 'users_can_register' ) ) {
    					$registration_url = sprintf( '<a class="wp-login-register" href="%s">%s</a>', esc_url( wp_registration_url() ), __( 'Register' ) );
    
    					/** This filter is documented in wp-includes/general-template.php */
    					echo apply_filters( 'register', $registration_url );
    
    					echo esc_html( $login_link_separator );
    				}
    
    				$html_link = sprintf( '<a class="wp-login-lost-password" href="%s">%s</a>', esc_url( wp_lostpassword_url() ), __( 'Lost your password?' ) );
    
    

See this hook used in plugins: