WordPress Editor – disabling wpautop()

WordPress Editor – disabling wpautop()

wpautop() The WordPress wpautop() function handles this aspect of Post/Page formatting. This function filters the_content() and the_excerpt() and, because it is a WordPress Filter, it’s very easy to disable it. Before you read the next section, just bear in mind what disabling wpautop() means. Firstly, you will need to manually add <p> and <br /> […]