Always render emoji with twemoji.js - not system emoji

I'm developing a site which leans heavily on emoji for visual interest.

The twemoji emoji set that is loaded by wp-emoji.js is really good visually. And importantly I want all users to get the same visual experience. In this case, even at the expense of performance. Some systems emoji sets are really undesirable.

As far as I can tell, wp-emoji.js ONLY loads twemoji.js when the system doesn't have its own emoji set, or when the emoji set doesn't contain the desired emoji.

How can I switch this so it ALWAYS loads?

I've moving the action that calls the wp-emoji-release.min.js script down to the very bottom of the footer - but that doesn't do the job by itself

remove_action('wp_head', 'print_emoji_detection_script', 7); add_action('wp_footer', 'print_emoji_detection_script', PHP_INT_MAX);

Topic emoji Wordpress javascript

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.