Clanbite Social Kit

user_has_comment_reaction( int $comment_id, int $user_id, string $reaction_type ): bool

Whether the user has a given reaction on a comment.

public static

Class: Kernowdev\ClanbiteSocialKit\Social\Data_Access

Parameters

$comment_id (int) Required

Comment PK.

$user_id (int) Required

User ID.

$reaction_type (string) Required

Slug.

Returns

bool

Defined in inc/Social/Data_Access.php