rest_index – filter
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.
Parameters
- .
- ( 4.4.0 ) . .
- Added
- ( 6.0.0 ) `$request` parameter. . . .
- $response
- ( WP_REST_Response ) Response data. . . .
- ( WP_REST_Request ) $request Request data. . . .