rest_post_dispatch

过滤钩子
apply_filters( 'rest_post_dispatch', rest_ensure_response( $response )

rest_post_dispatch。这个动作是在REST API请求被派发后触发的。它允许开发者在请求被处理后执行额外的动作,如记录或修改响应。

这个过滤器在wp-includes/rest-api/class-wp-rest-server.php中有记录。

$response = apply_filters( 'rest_post_dispatch', rest_ensure_response( $response ), $server, $request );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2026-01-29 08:09:34

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: