HTTP/2 301
server: nginx
date: Fri, 26 Dec 2025 22:22:13 GMT
content-type: text/html; charset=UTF-8
x-olaf: β
vary: accept, content-type
x-redirect-by: WordPress
location: https://developer.wordpress.org/reference/functions/wp_is_using_https/
x-frame-options: SAMEORIGIN
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
HTTP/2 200
server: nginx
date: Fri, 26 Dec 2025 22:22:14 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: β
vary: accept, content-type
link:
; rel="https://api.w.org/"
link:
; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 1
wp_is_using_https() β Function | Developer.WordPress.org
wp_is_using_https(): bool
Checks whether the website is using HTTPS.
This is based on whether both the home and site URL are using HTTPS.
bool True if using HTTPS, false otherwise.
| Version | Description |
|---|
| 5.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.