I have a plugin that displays some content onto the front end of the site after applying the_content filter to the block of text. I do this for formatting and maintaining links and images etc.
When I display my content on the front end of the site, other plugins that are hooked into the_content cause conflicts. For example, sharedaddy by jetpack hooks into the_content and displays share buttons wherever the_content is being used.
I can manually disable it by removing the filter, but this is less than ideal as I'm sure not all of my users are using sharedaddy. So rather than adding the remove_filter for sharedaddy, is there a way I can just simply remove all filters hooked into the_content for my specific plugin?
I am displaying my content like so:
<?php
echo apply_filters('the_content' , $this->optionVal['custom-message']);
?>