On this page
wp_is_application_passwords_supported(): bool
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.
Return
bool
Source
File: wp-includes/user.php. View all references
function wp_is_application_passwords_supported() {
return is_ssl() || 'local' === wp_get_environment_type();
}
Related
Uses
| Uses | Description |
|---|---|
| wp_get_environment_type() wp-includes/load.php | Retrieves the current environment type. |
| is_ssl() wp-includes/load.php | Determines if SSL is used. |
Used By
| Used By | Description |
|---|---|
| wp_is_application_passwords_available() wp-includes/user.php | Checks if Application Passwords is globally available. |
Changelog
| Version | Description |
|---|---|
| 5.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_is_application_passwords_supported