Skip to content

Instantly share code, notes, and snippets.

@halgatewood
Last active May 11, 2017 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halgatewood/f10afaddd83237ae9aead152990d2e7c to your computer and use it in GitHub Desktop.
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
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