Created
June 25, 2017 14:41
-
-
Save seoagentur-hamburg/1e949617185aea342aed828b1e14ae06 to your computer and use it in GitHub Desktop.
Die Emojis ausschalten
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
<?php | |
// Ab hier kopieren | |
//emoji aus dem header entfernen | |
function ah_disable_emoji_dequeue_script() { | |
wp_dequeue_script( 'emoji' ); | |
} | |
add_action( 'wp_print_scripts', 'ah_disable_emoji_dequeue_script', 100 ); | |
remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
remove_action( 'wp_print_styles', 'print_emoji_styles' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment