Clanbite

clanbite_event_calendar_render_surface_html( string $view, string $anchor_ymd, array $items, array $weekdays, string $today_ymd, array $i18n ): string

Inner HTML for .clanbite-event-calendar__surface.

Parameters

$view (string) Required

month|week|day|list.

$anchor_ymd (string) Required

Y-m-d.

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

REST rows.

$weekdays (array<int, string>) Required

Weekday labels (month only).

$today_ymd (string) Required

Site today.

$i18n (array<string, string>) Required

Block i18n subset.

Returns

string

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