Clanbite Points Since 1.4.0

get_live_rows_for_ref( string $ref, int $user_id = 0 ): array<int, object>

Live awards for a reference and everything beneath it (sk_post:34 also matches sk_post:34:comment:9).

public static

Class: Kernowdev\ClanbitePoints\Points\Ledger

Parameters

$ref (string) Required

Reference.

$user_id (int) Optional

Limit to one member (0 = anyone).

Default: 0

Returns

array<int, object> Ledger rows, oldest first.

Defined in inc/Points/Ledger.php

Changelog

VersionDescription
1.4.0Introduced.