wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_index › WordPress Filter Hooks

Since6.0.0
Deprecatedn/a
apply_filters( 'rest_index', $response, $request )
Parameters: (2)
  • () response Response data.
    Required: Yes
  • () request Request data.
    Required: Yes
Defined at:
Codex:

Filters the REST API root index data.

This contains the data describing the API. This includes information about supported authentication schemes, supported namespaces, routes available on the API, and a small amount of data about the site.




Source

return apply_filters( 'rest_index', $response, $request );