Book Sale! Save 20% on WordPress books with discount code: SAVE20
Web Dev + WordPress + Security

Free WordPress Plugin: Disable Application Passwords

Disable Application Passwords Launching a free plugin to disable the new Application Passwords feature introduced in WordPress version 5.6.

The plugin is one line of code. Install and activate to completely disable all of the Application Passwords functionality. To re-enable all Application Passwords, simply deactivate/uninstall the plugin. Easy peasy.

Why is this useful?

Why is this plugin useful? Because not every site needs or wants application passwords. Maybe some do, that’s great knock yourself out and enjoy the new WordPress feature. As long as you understand that when enabled, application passwords are available to ALL users, every role including subscribers can make use of application password functionality.

Take a look for yourself. Try logging into default WordPress as a subscriber and viewing the User Profile. Scroll to the bottom of the screen and check it out, looks something like this:

WordPress User Profile - Application PasswordsSubscriber User Profile showing the new Application Passwords feature

So again, ALL user levels will be able to set and use their own application passwords on your site. If that is not something that you want, for whatever reason, then you can use the free Disable Application Passwords plugin to completely disable all application password functionality. Or if you don’t want to use a plugin, you can disable it using a line of code..

Disable without a plugin

The Disable Application Passwords password uses one line of code to disable the application password feature:

add_filter('wp_is_application_passwords_available', '__return_false');

So you can install/activate the plugin, or just add that line to your (child) theme’s functions.php file. Thank you to the WordPress developers who made this possible. Learn more at WordPress.org.

Download

Learn more and download the latest version:

Feedback welcome in the comments below or send via my contact form.

Jeff Starr
About the Author
Jeff Starr = Web Developer. Security Specialist. WordPress Buff.
The Tao of WordPress: Become your own WordPress guru.

2 responses to “Free WordPress Plugin: Disable Application Passwords”

  1. Hey Jeff – Why would one want to disable Application Passwords? What’s the pros and cons? Also, you may want to link your text to https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/

    • Jeff Starr
      Jeff Starr 2020/12/10 1:24 am

      Not every site needs AP. It introduces unnecessary exposure and likely needless functionality. Put it this way: if you need application passwords, then leave enabled. If you do not need them, then you can disable easily.

      Also thanks for mentioning the WordPress.org guide. I’ve added a link to the article.

Comments are closed for this post. Something to add? Let me know.
Welcome
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
The Tao of WordPress: Become your own WordPress guru.
Thoughts
June, July, August historically are slow months on the Web. Perfect time to get some real work done (think projects).
Redesigning Plugin Planet is one the most challenging things I’ve done online. Almost there, about another two weeks ’til launch.
I could listen to Mouse Rat all day.
Thanks Apple for pushing out your massive 3 GB macOS updates because GarageBand. Oh, and Podcasts.
Weird bug with Affinity Designer. If images are opening upside down, click View ▸ Reset Rotation and problem solved.
Had a good laugh today when I saw this in a support email: “In observance of Arbor Day our team will be out of the office on Friday, April 30th.” Lol Arbor Day.
Just spent a few minutes scrolling thru FB, almost every ad was pushing the va×.
Newsletter
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.