Clanbite

clanbite_events_block_query_collection( array $params ): array{items: array<int, array<string, mixed>>, total: int}|WP_Error

Run the same collection query as GET clanbite/v1/event-posts for block SSR.

Parameters

$params (array<string, mixed>) Required

Request params: team_id, group_id, player_user_id, page, per_page, time_scope, order, starts_after, starts_before, search.

Returns

array{items: array<int, array<string, mixed>>, total: int}|WP_Error

Defined in inc/events/event-block-ssr.php