rest_get_authenticated_app_password(): string|null
Gets the Application Password used for authenticating the request.
Return
string|null The Application Password UUID, or null if Application Passwords was not used.
Source
File: wp-includes/rest-api.php
.
View all references
function rest_get_authenticated_app_password() {
global $wp_rest_application_password_uuid;
return $wp_rest_application_password_uuid;
}
Changelog
Version | Description |
---|---|
5.7.0 | Introduced. |