WordPress.org

Ready to get started?Download WordPress

Forums

header( "Content-Type: text/plain" ); - without conflicting with plugins (1 post)

  1. Leo Blanchette
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags