Clanbite Social Kit

allow_reaction( string $slug, int $post_id, int $user_id ): bool

Whether toggling this reaction is allowed (after registration check).

public static

Class: Kernowdev\ClanbiteSocialKit\Social\Reaction_Registry

Parameters

$slug (string) Required

Sanitized slug.

$post_id (int) Required

Social post ID.

$user_id (int) Required

User ID.

Returns

bool

Defined in inc/Social/Reaction_Registry.php