Clanbite

clanbite_event_calendar_render_month_surface_html( string $anchor_ymd, array $items, array $weekday_labels, string $today_ymd, array $i18n ): string

Full month surface inner HTML (matches client renderSurface month branch).

Parameters

$anchor_ymd (string) Required

Y-m-d in month.

$items (array<int, array<string, mixed>>) Required

REST rows.

$weekday_labels (array<int, string>) Required

Seven labels, Sunday first.

$today_ymd (string) Required

Site today.

$i18n (array<string, string>) Required

untitled, noEvents.

Returns

string

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