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:
John Blackbourn
2021-11-18 13:50:05 +00:00
parent b3b8d6959c
commit c9746ab584
28 changed files with 91 additions and 84 deletions

View File

@@ -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 );
}