Clanbite Points Since 1.4.0

has_live_ref( int $user_id, string $points_type_key, string $action_key, string $ref ): bool

Whether a live (not reversed) award with this reference exists.

public static

Class: Kernowdev\ClanbitePoints\Points\Ledger

Parameters

$user_id (int) Required

User ID.

$points_type_key (string) Required

Type key.

$action_key (string) Required

Action key.

$ref (string) Required

Reference.

Returns

bool

Defined in inc/Points/Ledger.php

Changelog

VersionDescription
1.4.0Introduced.