WordPress at a glance
filter is not described

rest_endpoints_description filter-hook . WP 4.4.0

Filters the REST endpoint data.

Usage

add_filter( 'rest_endpoints_description', 'filter_function_name_7034' );
function filter_function_name_7034( $request ){
	// filter...

	return $request;
}
$request(WP_REST_Request)
Request data. The namespace is passed as the 'namespace' parameter.

Changelog

Since 4.4.0 Introduced.

Where the hook is called

WP_REST_Server::get_data_for_routes()
rest_endpoints_description
wp-includes/rest-api/class-wp-rest-server.php 1127
$available[ $route ] = apply_filters( 'rest_endpoints_description', $data );

Where the hook is used (in WP core)

Usage not found!