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.
Source
function wp_is_application_passwords_supported() {
return is_ssl() || 'local' === wp_get_environment_type();
}
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.