HTTP/2 200
server: nginx
date: Thu, 09 Oct 2025 07:23:10 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_Speculation_Rules::is_valid_mode() – Method | Developer.WordPress.org
WordPress Developer Resources
WP_Speculation_Rules::is_valid_mode()
WP_Speculation_Rules::is_valid_mode( string $mode ): bool
Checks whether the given speculation rules mode is valid.
$mode
stringrequiredSpeculation rules mode.
bool True if valid, false otherwise.
Version | Description |
---|
6.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.