Disabling WordPress Smilies & Emoji

Call me old, or whatever, but personally, I think smilies and emoji in WordPress should be enabled by plugins or themes, they should not form part of the WP core system. There, I’ve said it.

Anyhow, when attempting to disable the emoji in my theme, I came across an issue whereby the option to disable the conversion of :) to images was missing in the WP admin area. The problem was, I didn’t know it was missing, so when I tried to implement this, I was still seeing emoji in my posts and comments. Annoying.

To workaround the issue, I’ve added a function to the ‘after_switch_theme‘ action that sets the ‘use_smilies’ option to false. Voila, no more smiles :)

Tagged with:

Leave a comment

Note: Please be excellent (this is not YouTube and I reserve the right not to publish comments from muppets.) Your email address will not be published. Required fields are marked *