apply_filters( 'rest_endpoints_description', array $data )
Filters the publicly-visible data for a single REST API route.
Parameters
-
$data
array -
Publicly-visible data for the route.
Source
File: wp-includes/rest-api/class-wp-rest-server.php
.
View all references
$available[ $route ] = apply_filters( 'rest_endpoints_description', $data );
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |