application_password_is_api_request WordPress Filter Hook
This hook is called whenever a password is generated for an API request. It allows you to modify the generated password before it is stored or sent.
apply_filters( 'application_password_is_api_request', bool $is_api_request ) #
Filters whether this is an API request that Application Passwords can be used on.
Description
By default, Application Passwords is available for the REST API and XML-RPC.
Parameters
- $is_api_request
(bool)If this is an acceptable API request.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |