wpseek.com
WordPress开发者和主题制作者的搜索引擎



rest_pre_echo_response › WordPress过滤钩子

Since4.8.1
已弃用n/a
› apply_filters( 'rest_pre_echo_response', $result, $this, $request )
参数: (3)
  • () result Response data to send to the client.
    Required: Yes
  • () server Server instance.
    Required: Yes
  • () request Request used to generate the response.
    Required: Yes
定义在:
文档:

Filters the REST API response.

Allows modification of the response data after inserting embedded data (if any) and before echoing the response data.




源码

$result = apply_filters( 'rest_pre_echo_response', $result, $this, $request );