Clanbite Social Kit Since 1.6.2

delete_comment( WP_REST_Request $request ): \WP_REST_Response|\WP_Error

Delete a comment and the replies below it: its author, the post's manager or a site administrator.

public

Class: Kernowdev\ClanbiteSocialKit\Rest\Rest_Controller

Parameters

$request (WP_REST_Request) Required

Request.

Returns

\WP_REST_Response|\WP_Error

Defined in inc/Rest/Rest_Controller.php

Changelog

VersionDescription
1.6.2Introduced.