Clanbite Points

sum_since_gmt( int $user_id, string $points_type_key, string $action_key, string $since_gmt ): int

Sum of points awarded for a user/type/action since a GMT datetime (inclusive).

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.

$since_gmt (string) Required

Y-m-d H:i:s UTC.

Returns

int

Defined in inc/Points/Ledger.php