Docs: Various corrections and improvements relating to types used in inline documentation.
See #53399 Built from https://develop.svn.wordpress.org/trunk@52204 git-svn-id: http://core.svn.wordpress.org/trunk@51796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1397,11 +1397,11 @@ class WP_REST_Server {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the REST API endpoint data.
|
||||
* Filters the publicly-visible data for a single REST API route.
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @param WP_REST_Request $request Request data. The namespace is passed as the 'namespace' parameter.
|
||||
* @param array $data Publicly-visible data for the route.
|
||||
*/
|
||||
$available[ $route ] = apply_filters( 'rest_endpoints_description', $data );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user