Posted By

silentpro on 03/14/11


Tagged

php textmate wordpress function autop


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

hkamci


Wordpress autop


 / Published in: Other
 

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

Report this snippet  

You need to login to post a comment.