rest_delete_comment, $comment, $response, $request

rest_delete_comment, $comment, $response, $request

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('rest_delete_comment, $comment, $response, $request') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php line 1115
    		 * @param WP_Comment       $comment  The deleted comment data.
    		 * @param WP_REST_Response $response The response returned from the API.
    		 * @param WP_REST_Request  $request  The request sent to the API.
    		 */
    		do_action( 'rest_delete_comment', $comment, $response, $request );
    
    		return $response;
    	}
    
    	/**
    	 * Prepares a single comment output for response.