Is there an inverse of wpautop?
Is there a php function that is the inverse of wpautop?
A function that takes well-formed html and strips out the <p> and br tags in such a way that applying wpautop will reproduce the original well-formed html?
I’m trying to import static html into WordPress. The import plugin sticks well-formed html into the database, and when the wpautop filter is applied when the page is displayed, an extra </p> is sometimes inserted into the page.
- The topic ‘Is there an inverse of wpautop?’ is closed to new replies.