Docs: Miscellaneous docblock corrections and improvements.
See #51800. Built from https://develop.svn.wordpress.org/trunk@49942 git-svn-id: http://core.svn.wordpress.org/trunk@49641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1860,10 +1860,16 @@ class WP_REST_Posts_Controller extends WP_REST_Controller {
|
||||
}
|
||||
|
||||
/**
|
||||
* Filters the post data for a response.
|
||||
* Filters the post data for a REST API response.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$this->post_type`, refers to the post type slug.
|
||||
*
|
||||
* Possible filter names include:
|
||||
*
|
||||
* - `rest_prepare_post`
|
||||
* - `rest_prepare_page`
|
||||
* - `rest_prepare_attachment`
|
||||
*
|
||||
* @since 4.7.0
|
||||
*
|
||||
* @param WP_REST_Response $response The response object.
|
||||
|
||||
Reference in New Issue
Block a user