wp_is_application_passwords_supported

The timeline below displays how wordpress function wp_is_application_passwords_supported has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.9

/**
 * Checks if Application Passwords is supported.
 *
 * Application Passwords is supported only by sites using SSL or local environments
 * but may be made available using the {@see 'wp_is_application_passwords_available'} filter.
 *
 * @since 5.9.0
 *
 * @return bool
 */
function wp_is_application_passwords_supported()
{
    return is_ssl() || 'local' === wp_get_environment_type();
}