SHARE
TWEET

Untitled

a guest Jun 15th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <p> � </p>
  2.      
  3. <p> </p>
  4.      
  5. <?php
  6. /* Plugin Name: Erase "�" */
  7. function replace_content($content)
  8. {
  9. $content = str_replace('�', '&nbsp;',$content);
  10. return $content;
  11. }
  12. add_filter('the_content','replace_content')
  13. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top