Technical Docs

Search Documentation

Function: tribe_events_week_get_hours

Return the hours to display on week view. Optionally return formatted, first, or last hour.

Located at src/functions/template-tags/week.php (Line: 73)

Parameters summary

(string) $return Can be ’raw’, ’formatted’, ’first-hour’, or ’last-hour’.

Return value summary

(array)

Examples

array tribe_events_week_get_hours ( string $return = null )