Last active
August 29, 2015 14:12
-
-
Save geoffgraham/1bafdd547ed2489bb05a to your computer and use it in GitHub Desktop.
Events Calendar 3.9.1 // Change Page Title in MonthView
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
add_filter('tribe_get_events_title', 'change_events_title'); | |
function change_events_title($title) { | |
// We'll change the title just on the Month View | |
if ( tribe_is_month() ) | |
return 'Your New Title Here!'; | |
// In all other circumstances, leave the original title in place | |
return $title; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment