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.
1436* @since 4.4.01437* @since 6.0.0 Added `$request` parameter.1438*1439* @param WP_REST_Response$response Response data.1440* @param WP_REST_Request$request Request data.1441*/1442returnapply_filters('rest_index',$response,$request);1443}14441445/**1446* Adds a link to the active theme for users who have proper permissions.1447*1448* @since 5.7.0
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.