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



rest_delete_comment ›

Since4.7.0
已弃用n/a
do_action( 'rest_delete_comment', $comment, $response, $request )
参数: (3)
  • (WP_Comment) $comment The deleted comment data.
    Required: Yes
  • (WP_REST_Response) $response The response returned from the API.
    Required: Yes
  • (WP_REST_Request) $request The request sent to the API.
    Required: Yes
定义在:
文档:

Fires after a comment is deleted via the REST API.





源码

do_action( 'rest_delete_comment', $comment, $response, $request );