Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<?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