Created
September 6, 2022 10:03
-
-
Save Pebblo/774a333e8320f23cdd006c1b2a4c3ed3 to your computer and use it in GitHub Desktop.
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 //Please do not include the opening php tag if you have one. | |
function tw_remove_shortcodes_in_calendar_tooltip( $description, $datetime_in_calendar ){ | |
return strip_shortcodes($description); | |
} | |
add_filter('FHEE__EE_Datetime_In_Calendar__to_array_for_json__description', 'tw_remove_shortcodes_in_calendar_tooltip', 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment