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.


Top ↑

Parameters

$is_api_request

(bool)If this is an acceptable API request.


Top ↑

Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More