Clanbite Social Kit Since 1.6.2

user_can_edit_comment_row( object $comment, int $user_id ): bool

Whether 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) Required

Comment row.

$user_id (int) Required

User ID.

Returns

bool

Defined in inc/Social/Data_Access.php

Changelog

VersionDescription
1.6.2Introduced.