Gets the Application Password used for authenticating the request.

Return Return

(string|null) The App Password UUID, or null if Application Passwords was not used.

Top ↑

Source Source

File: wp-includes/rest-api.php

function rest_get_authenticated_app_password() {
	global $wp_rest_application_password_uuid;

	return $wp_rest_application_password_uuid;

Top ↑

Changelog Changelog

Version Description
5.7.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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