sandywp / plugins / disable-emojis
Disable Emojis (GDPR friendly)
Disable the WordPress emoji functionality to improve performance and privacy.
Ready in seconds.
v1.9.3 60,000+ installs WP 4.8+

About this plugin
This plugin disables the WordPress emoji functionality, removing unnecessary code bloat that adds support for emojis in older browsers.
What it does
- Removes the emoji detection script from
wp_headand the admin - Removes emoji styles from
wp_print_stylesand admin - Removes emoji DNS prefetching, preventing connections to
s.w.org - Removes the
wpemojiTinyMCE plugin - Strips emoji CDN hostname from DNS prefetch hints
Performance & Privacy
Emojis will still display in modern browsers that have built-in support. This plugin simply removes the extra HTTP requests and JavaScript overhead for browsers that don’t need it. Additionally, it prevents DNS prefetching to WordPress.org’s emoji CDN, improving privacy.
Note: Emoticons like :) will continue to work as expected.
Requirements
- PHP 7.4+
- WordPress 5.0+
GDPR compliancy
This plugin does not send any data to external servers. It disables DNS prefetching of emojis within WordPress, which should ensure improved privacy. To determine if your site is GDPR compliant, please seek legal advice. I have done my best to ensure the plugin is 100% GDPR compliant, but I am not a lawyer so cannot guarantee anything.
Architecture
The plugin uses:
Quality
All code uses declare(strict_types=1) and follows PSR-12. The plugin runs the following tooling:
- PHP_CodeSniffer (run via
composer phpcs) — sniffs for PSR-12 violations - PHP-CS-Fixer (run via
composer cs) — dry-run style check - PHPStan at level 6 (run via
composer phpstan) — static analysis
Questions
- Will this break emojis on my site?
No. Modern browsers have built-in emoji support. This plugin only removes the JavaScript and CSS that WordPress adds for very old browsers.
- Will emoticons still work?
Yes. Text-based emoticons like
:)and:Dwill continue to work as they always have.- Is this plugin GDPR compliant?
It does not connect to any external servers or send any data. It removes the DNS prefetch to WordPress.org’s emoji CDN. See the GDPR section above for details.
sandywp / also on the shelf
Try another plugin
4.9 · 2M+ installs
Enables the previous "classic" widgets settings screens in Appearance - Widgets and the Customizer. Disables the block editor…
3.8 · 100K+ installs
Disable Comments - easy tool to disable comments for your blog posts, and pages. Admin can disable comments in just a few clicks.
4.7 · 30K+ installs
Disable the built-in front-end search capabilities of WordPress.
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.