Skip to content

Instantly share code, notes, and snippets.

@pmgllc
Created April 22, 2016 13:09
Show Gist options
  • Save pmgllc/6cd89284ab6d795a98329ef68b5c9463 to your computer and use it in GitHub Desktop.
Save pmgllc/6cd89284ab6d795a98329ef68b5c9463 to your computer and use it in GitHub Desktop.
Kill emoji support in WordPress
<?php
//* Deregister WP 4.2 Emoji Support
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_print_styles', 'print_emoji_styles' );
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
remove_action( 'admin_print_styles', 'print_emoji_styles' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment