Last active
May 11, 2017 18:32
-
-
Save halgatewood/f10afaddd83237ae9aead152990d2e7c to your computer and use it in GitHub Desktop.
Change the text of the wind speed from "m/s" to "mph" in the Awesome Weather Widget
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 hg_awesome_weather_wind_speed_text( ) | |
{ | |
return "mph"; | |
} | |
add_filter('awesome_weather_wind_speed_text', 'hg_awesome_weather_wind_speed_text'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment