Disable all emoticons from within a WordPress theme

in the website

I made my first tests of the new theme today on Peppermint, and found that WordPress nefariously inserted emoticons, because I used a test set of posts inserted from RMWB. And I hate graphical emoticons.

These two lines shut down the filter from within a theme:

remove_filter('the_content', 'convert_smilies');
remove_filter('the_excerpt', 'convert_smilies');

Six Months in the Mountain Kingdom

in me

Your email address will not be published. Required fields are marked *