Created
July 18, 2019 05:41
Translating the Days of the Week through a WordPress filter.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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