Clanbite Social Kit Since 1.6.2
delete_comment_tree( int $comment_id ): int[]Delete a comment with its replies and their reactions.
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access
Parameters
$comment_id(int) RequiredComment PK.
Returns
int[] IDs deleted (the comment first, then every reply below it); empty when it did not exist.
Defined in inc/Social/Data_Access.php
Changelog
| Version | Description |
|---|---|
| 1.6.2 | Introduced. |