2020-05-02 / 3578阅 / 悠然
过滤API响应以包括>
(WP_REST_Response)
(Required)
Current response being served.
(WP_REST_Server)
(Required)
ResponseHandler instance (usually WP_REST_Server).
(WP_REST_Request)
(Required)
The request that was used to make current response.
(WP_REST_Response) Response to be served, trimmed down to contain a subset of fields.