WordPress Syndication and the_content filter

We use the FeedWordPress plugin to import Twitter updates into our blog, select the most interesting ones and put them on the homepage. However, the Tweet plugin wasn’t working. After a bit of testing we concluded that the_content filters were being run but totally ignored! As it turns out (after a lot of code digging) The FeedWordPress plugin actually rewrites the content of it’s imported posts to their original values thus bypassing any the_content filters. Add the following lines of code to your functions.php to prevent this:

remove_filter('the_content', 'feedwordpress_preserve_syndicated_content', -10000);
remove_filter('the_content', 'feedwordpress_restore_syndicated_content', 10000);