Remove the Remember Me Checkbox (Hook)

By default, the WordPress login form has the "Remember Me" checkbox on the login form. It stores the users' login credentials if they check the Remember Me checkbox before hitting the Log In button. So, the next time they don’t need to add login credentials to access your site.

Remember Me Checkbox

Suppose you have customized the default WordPress login page using the LoginPress plugin and want to remove the “Remember Me” checkbox for any reason. What would you do?

Don’t look any further! In this knowledge base article, we’ll show you how to easily remove the “Remember Me" checkbox from the WordPress login form using a hook while using the LoginPress plugin.

Let’s get started!

Remove the Remember Me Checkbox Using LoginPress 

To remove the “Remember Me” checkbox from your customized WordPress login page created with LoginPress, you’ll need to update the code to your website theme's functions.php file.

Note: It’s recommended to use a child theme to edit the functions.php file instead of the parent theme. There are chances to lose the modified code when you update your theme. It might cause some adverse effects on your website.

To do this, go to the left sidebar of your WordPress admin dashboard, navigate to Appearance, and click the Theme File Editor option.

Theme File Editor

On the next screen, click the Theme Functions on the right-hand side. Scroll down to the bottom of the functions.php file and add the following code:

apply_filters( 'loginpress_remember_me', true );

Once you’ve added the hook, click the Update File button at the bottom of the screen to save your changes.

Remove the Remember Me Checkbox Using Code

See, the “Remember Me” checkbox has been removed from the login form.

Checkbox is Removed

That’s it! We hope you understand how to easily remove the “Remember Me” checkbox from the custom WordPress login form using LoginPress. 

Let us know how much this knowledge base helped you! 

Bonus Tip:

You can also get the advantage of LoginPress’s Auto Remember Me feature. It helps the user keep the Remember Me option always checked on the login form.

Auto Remember Me

If you have any doubts or questions related to this matter, please don't hesitate to contact our support team.

Still stuck? How can we help?

Updated on January 16, 2024

Documentation
LoginPress Support
triangular shape yellowish icon

Frequently Asked Questions (FAQs)

These FAQs answer the most common questions about our WordPress custom login page plugin.

three shapes icon

Where can I get support for LoginPress?

If you need help with LoginPress, you can contact us here. We’ll be happy to answer any questions about the plugin.

Do you have an affiliate program?

Yes, we have an affiliate program that you can sign up for here. As an affiliate, you’ll earn a commission on every sale you refer to us.

Do you offer refunds?

Yes, we offer a 14-day money-back guarantee on all of our plans. If you’re unsatisfied with LoginPress, simply contact us within 14 days of your purchase, and we’ll process a refund.

Can I upgrade my license after my initial purchase?

Yes, you can upgrade your LoginPress license at any time. Simply log into your account and go to the My Downloads page. From here, you can upgrade your license and download the latest version of the plugin.

Will LoginPress slow down my website?

No, LoginPress will not slow down your website. The plugin is lightweight and only loads the necessary files when someone tries to access your login page.

three shapes icon

If you Still have Questions?

Get In Touch