Uma área de pesquisa sobre o WordPress para devs e autores do tema



rest_delete_comment ›

Desde4.7.0
Obsoleton/a
do_action( 'rest_delete_comment', $comment, $response, $request )
Parâmetros: (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
Definido em:
Codex:

Fires after a comment is deleted via the REST API.





Fonte

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