W3cubDocs

/WordPress

apply_filters( 'rest_endpoints_description', WP_REST_Request $request )

Filters the REST endpoint data.

Parameters

$request

(WP_REST_Request) Request data. The namespace is passed as the 'namespace' parameter.

Source

File: wp-includes/rest-api/class-wp-rest-server.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

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