Removing the Register link on WordPress Admin Page | iGetPro

Hi Guys,

So to remove the Register link from the WordPress Admin Login so that you can better control who registers through the main page you do the following:

  1. Open your wp-login.php page
  2. Find the following code:
  3. <?php if ( get_option( ‘users_can_register’ ) ) : ?>
    <!– <?php echo apply_filters( ‘register’, sprintf( ‘<a href=”%s”>%s</a>’, esc_url( wp_registration_url() ), __( ‘Register’ ) ) ); ?> |–>
    <?php endif; ?>
  4. Now comment out the middle line and that will remove the link from that page only.

Hope this helps.

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Pin It on Pinterest

Share This