apply_filters( 'rest_route_data', array $available , array $routes )
Filters the publicly-visible data for routes.
Description 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.
Parameters Parameters
- $available
-
(array) Map of route to route data.
- $routes
-
(array) Internal route data as an associative array.
Source Source
Changelog Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |