ob_start() and ob_clean() not working

I am writing a wordpress plugin. I am using ob_start() on init add_action and using ob_clean() during my code ahead. It is working fine, but when I enable visual composer wordpress plugin, ob_clean() doesn’t work. Can anybody help me?

Thanks

Related posts