# Disable Application Passwords

> Removes the Application Passwords feature, which lets external apps authenticate to the REST API. Disable it if you do not use it.

- Type: PHP
- Runs: Run everywhere
- Category: [Security](https://wpide.com/library/category/security/)
- Tags: security, application-passwords, rest-api
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/disable-application-passwords/

## Code

```php
add_filter( 'wp_is_application_passwords_available', '__return_false' );
```

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Disable Application Passwords" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
