wpseek.com
A WordPress-centric search engine for devs and theme authors



rest_delete_comment › WordPress Action Hooks

Since4.7.0
Deprecatedn/a
do_action( 'rest_delete_comment', $comment, $response, $request )
Parameters: (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
Defined at:
Codex:

Fires after a comment is deleted via the REST API.





Source

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