wp_is_application_passwords_supported() WordPress Function

This function checks if the application passwords is support by the current user. Application passwords are used to access Wordpress from outside of the Wordpress application.

wp_is_application_passwords_supported() #

Checks if Application Passwords is supported.


Description

Application Passwords is supported only by sites using SSL or local environments but may be made available using the ‘wp_is_application_passwords_available’ filter.


Top ↑

Return

(bool)


Top ↑

Source

File: wp-includes/user.php

function wp_is_application_passwords_supported() {
	return is_ssl() || 'local' === wp_get_environment_type();
}


Top ↑

Changelog

Changelog
VersionDescription
5.9.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