Clanbite Social Kit Since 1.6.2
delete_comment( WP_REST_Request $request ): \WP_REST_Response|\WP_ErrorDelete 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) RequiredRequest.
Returns
\WP_REST_Response|\WP_Error
Defined in inc/Rest/Rest_Controller.php
Changelog
| Version | Description |
|---|---|
| 1.6.2 | Introduced. |