Posted By

chrisaiv on 09/13/14


Tagged

wordpress


Versions (?)

Wordpress: Fix Visual Formatting


 / Published in: PHP
 

Prevents wordpress back-end from stripping formatting

  1. //TITLE: Fix Visual Formatting
  2. function remove_formatting(){
  3. //Prevents wordpress back-end from stripping formatting
  4. remove_filter ('the_content', 'wpautop');
  5. }
  6. add_action('init', 'remove_formatting');

Report this snippet  

You need to login to post a comment.