wp_is_https_supported
wp_is_https_supported ( No parameters )
Returns:- (bool) True if HTTPS is supported, false otherwise.
Defined at: - Introduced in WordPress: 5.7.0
- Deprecated in WordPress: —
Description
Checks whether HTTPS is supported for the server and domain.This function makes an HTTP request through `wp_get_https_detection_errors()`
to check for HTTPS support. As this process can be resource-intensive,
it should be used cautiously, especially in performance-sensitive environments,
to avoid potential latency issues.