WordPress at a glance
function is not described

rest_get_authenticated_app_password() WP 5.7.0

Gets the Application Password used for authenticating the request.

No Hooks.

Return

String|null. The App Password UUID, or null if Application Passwords was not used.

Usage

rest_get_authenticated_app_password();

Notes

  • Global. String|null. $wp_rest_application_password_uuid

Changelog

Since 5.7.0 Introduced.

Code of rest_get_authenticated_app_password() WP 5.7.2

<?php
function rest_get_authenticated_app_password() {
	global $wp_rest_application_password_uuid;

	return $wp_rest_application_password_uuid;
}