Support » Fixing WordPress » header( "Content-Type: text/plain" ); – without conflicting with plugins

  • Leo Blanchette


    For one aspect of my theme, I will be delivering a text/xml format of the loop. I realize though by declaring header( “Content-Type: text/plain” ) I might actually conflict with some other random plugin or part of wordpress.

    I’d just like some insight – should I use header( “Content-Type: text/plain” ); or play it safe? Or is there a safe way to do this?

    The text / pretty output might as well be a perk, but I’d like to use it.

  • The topic ‘header( "Content-Type: text/plain" ); – without conflicting with plugins’ is closed to new replies.