Filters the publicly-visible data for REST API routes.
Description
This data is exposed on indexes and can be used by clients or developers to investigate the site and find out how to use it. It acts as a form of self-documentation.
1588*1589* @since 4.4.01590*1591* @param array[]$available Route data to expose in indexes, keyed by route.1592* @param array$routes Internal route data as an associative array.1593*/1594returnapply_filters('rest_route_data',$available,$routes);1595}15961597/**1598* Retrieves publicly-visible data for the route.1599*1600* @since 4.4.0
History
Introduced in 4.4.0. Unchanged from 6.7.7 through 7.1.0.