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

View on Trac

Changelog

Version Description
5.6.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/application_password_is_api_request