1 comment.module | comment_delete_multiple($cids) |
Deletes comments and all their replies.
Parameters
$cids: The IDs of the comments to delete.
See also
File
- core/
modules/ comment/ comment.module, line 1563 - Enables users to comment on published content.
Code
function comment_delete_multiple($cids) {
entity_delete_multiple('comment', $cids);
}