HTTP/2 301
server: nginx
date: Sat, 19 Jul 2025 18:08:45 GMT
content-type: text/html; charset=UTF-8
x-olaf: ⛄
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: Sat, 19 Jul 2025 18:08:45 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
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.