Created
July 18, 2019 05:41
-
-
Save halgatewood/09d3653cd2d092802e8fe8be4b54b71c to your computer and use it in GitHub Desktop.
Translating the Days of the Week through a WordPress filter.
This file contains 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