Created
February 4, 2017 00:09
-
-
Save bkaminski/0f47f7d2e6d0e5badf19848fbd3fd0db to your computer and use it in GitHub Desktop.
Add to WordPress functions.php, removes bloaty code related to Emoji's from WordPress Theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//PLACE THIS CODE WITHIN YOUR FUNCTIONS.PHP FILE | |
// REMOVE WP EMOJI | |
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