Filters whether this is an API request that Application Passwords can be used on.
By default, Application Passwords is available for the REST API and XML-RPC.
$is_api_requestbool
$is_api_request = apply_filters( 'application_password_is_api_request', $is_api_request );
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/application_password_is_api_request