rt_replace_the_content filter not removed

Hi,

In RTMediaRouter.php a filter is added to the_content (rt_replace_the_content) but is, as it seems, not removed.
On our page we have 2 appearances of apply_filter( ‘the_content’, xxx ) and they are both replaced with the rtMedia component. Only the first appearance should be replaced.

How can I prevent this?

Thanks!

Hi Bram,

You can prevent it by removing that filter in your theme itself.

Check this question -> http://wordpress.stackexchange.com/questions/57079/how-to-remove-a-filter-that-is-an-anonymous-object in which they had removed the filter which was added in a class.

Thanks Ritesh, that works!

I am glad to know that your query is resolved :slight_smile: