Clanbite Points Since 1.3.0
rest_recent_awards( WP_REST_Request $request ): \WP_REST_ResponseREST: the signed-in member's newest awards after a ledger id, with ready-to-show wording.
public static
Class: Kernowdev\ClanbitePoints\Points\Earned_Popup
Parameters
$request(\WP_REST_Request) RequiredRequest (
after: the last ledger id the browser has handled).
Returns
\WP_REST_Response latest_id, awards (oldest first) and summaries (one per point type, for combined popups).
Defined in inc/Points/Earned_Popup.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Introduced. |