Clanbite Social Kit Since 1.6.2
user_can_edit_comment_row( object $comment, int $user_id ): boolWhether a user may edit a comment: its author.
Editing stays with the author (as for posts, where site administrators can remove but not rewrite what others wrote).
public static
Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access
Parameters
$comment(object) RequiredComment row.
$user_id(int) RequiredUser ID.
Returns
bool
Defined in inc/Social/Data_Access.php
Changelog
| Version | Description |
|---|---|
| 1.6.2 | Introduced. |