Clanbite

clanbite_event_calendar_render_day_surface_html( string $anchor_ymd, array $items, array $i18n ): string

Server-render the event calendar single-day list.

Parameters

$anchor_ymd (string) Required

Anchor date (Y-m-d, site timezone).

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

Event rows from the events REST shape.

$i18n (array<string, string>) Required

Labels: untitled, noEvents.

Returns

string Escaped HTML.

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

Changelog

VersionDescription
1.3.0Updated.