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_requestbool
If this is an acceptable API request.

Source

$is_api_request = apply_filters( 'application_password_is_api_request', $is_api_request );

Changelog

VersionDescription
5.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.