HTTP/2 200
server: nginx
date: Sun, 12 Oct 2025 13:09:17 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 2
WP_REST_Server::get_route_options() – Method | Developer.WordPress.org
WordPress Developer Resources
WP_REST_Server::get_route_options()
WP_REST_Server::get_route_options( string $route ): array|null
Retrieves specified options for a route.
$route
stringrequiredRoute pattern to fetch options for.
array|null Data as an associative array if found, or null if not found.
Version | Description |
---|
4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.