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.
1421* @since 4.4.01422* @since 6.0.0 Added `$request` parameter.1423*1424* @param WP_REST_Response$response Response data.1425* @param WP_REST_Request$request Request data.1426*/1427returnapply_filters('rest_index',$response,$request);1428}14291430/**1431* Adds a link to the active theme for users who have proper permissions.1432*1433* @since 5.7.0
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.