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 and formatting 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:


Read more here: Apply the_content filter, but prevent other hooked actions


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , ,

Wordpress related questions and answers: