Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Translating the Days of the Week through a WordPress filter.
function awesome_weather_spanish_days_of_week()
{
return array('Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa');
}
add_filter('awesome_weather_days_of_week', 'awesome_weather_spanish_days_of_week');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment