Created
June 12, 2014 00:04
-
-
Save ChrisCree/877501c986a3bc5bd5cf to your computer and use it in GitHub Desktop.
Remove the recurring info from the Events List widget in the The Events Calendar Pro.
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 | |
// Do not copy opening PHP tag above | |
// Events Calendar - remove recurring event info | |
add_filter( 'tribe_events_recurrence_tooltip', 'wsm_remove_tec_recurring_info' ); | |
function wsm_remove_tec_recurring_info( $tooltip ) { | |
if( !is_singular() ) | |
$tooltip = ''; | |
return $tooltip; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment