W3cubDocs

/WordPress

apply_filters( ‘rest_endpoints_description’, array $data )

Filters the publicly-visible data for a single REST API route.

Parameters

$dataarray
Publicly-visible data for the route.

Source

$available[ $route ] = apply_filters( 'rest_endpoints_description', $data );

Changelog

Version Description
4.4.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_endpoints_description