Remove the emojicons via functions.php

This commit is contained in:
koenemann 2016-02-25 15:18:26 +01:00
parent 49141e4e84
commit ee27ec3644
1 changed files with 5 additions and 1 deletions

View File

@ -31,4 +31,8 @@ function understrap_scripts() {
wp_enqueue_script( 'understrap-carousel-script', get_template_directory_uri() . '/js/owl.carousel.min.js', array(), '20024', true );} wp_enqueue_script( 'understrap-carousel-script', get_template_directory_uri() . '/js/owl.carousel.min.js', array(), '20024', true );}
} }
add_action( 'wp_enqueue_scripts', 'understrap_scripts' ); add_action( 'wp_enqueue_scripts', 'understrap_scripts' );
// Removing the fuc!?$% emoji´s
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_print_styles', 'print_emoji_styles' );