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) RequiredReference.
$user_id(int) OptionalLimit to one member (0 = anyone).
Default:
0
Returns
array<int, object> Ledger rows, oldest first.
Defined in inc/Points/Ledger.php
Changelog
| Version | Description |
|---|---|
| 1.4.0 | Introduced. |