Summery Summery
Filters the post data for a response.
Syntax Syntax
Description Description
The dynamic portion of the hook name, $this->post_type, refers to the post type slug.
Parameters Parameters
- $response
-
The response object.
- $post
-
Post object.
- $request
-
Request object.
Source Source
File: wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |