Return to Snippet

Revision: 42963
at March 14, 2011 13:25 by silentpro

Initial Code
// Remove WordPress Auto P 
remove_filter( 'the_content', 'wpautop' ); 
// Auto P is also called in these filters, I'm just adding these lines for your information. 
// If you want to disable them, uncomment 
// remove_filter( 'the_content', 'wpautop' ); 
// remove_filter( 'the_excerpt', 'wpautop' ); 
// remove_filter( 'comment_text', 'wpautop' ); // <-- Be careful with this one

Initial URL

Initial Description

Initial Title
Wordpress autop

Initial Tags
php, textmate, wordpress, function

Initial Language