• Resolved hanifb

    (@hanifb)


    Hers the deal:

    I have created a admin page where i can create special posts with tiny MCE and they are written into their own database table.

    The problem is that i have a good sense that i am doing it wrong.

    WP escapes my post when it writes it into the database, but how can i unescape it and keeping the TinyMCE html tags when i read it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hanifb

    (@hanifb)

    Ok since nobody answered i assume that my question was misformulated,

    What function adds the <p> on line breaks when a post is read from the database?

    Thread Starter hanifb

    (@hanifb)

    Found it!

    apply_filters('the_content',$thetext);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Uneascaping posts’ is closed to new replies.