Created
May 5, 2017 01:42
-
-
Save GeoffEW/eabd55a204915d02c7e2edf8eb8cc270 to your computer and use it in GitHub Desktop.
Remove st, nd, rd from the date format in the week 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
<?php | |
/* Tribe, modify this week widget date format */ | |
function tribe_modify_this_week_date_format ( ) { | |
return 'j'; | |
} | |
add_filter( 'tribe_events_this_week_date_format', 'tribe_modify_this_week_date_format' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment