Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

MEC_EVENT_HELPERS::get_date( mixed $type = 'start', mixed $format = 'F j, o g:i A' )

Returns the date of the event.


Parameters Parameters

$type

(mixed) (Optional) Either 'start' or 'end'

Default value: 'start'

$format

(mixed) (Optional) The format of date.

Default value: 'F j, o g:i A'


Top ↑

Return Return

(string) The formatted event date.


Source Source

File: src/integrations/modern-events-calendar/helpers/mec-event-helpers.php