Technical Docs

Search Documentation

Function: tribe_wp_locale_weekday

Return a WP Locale weekday in the specified format

Located at src/functions/template-tags/date.php (Line: 400)

Parameters summary

(int|string) $weekday Day of week
(string) $format Weekday format: full, weekday, initial, abbreviation, abbrev, abbr, short

Return value summary

(string)

Examples

string tribe_wp_locale_weekday ( int|string $weekday, string $format )