Advertisement
majeedraza

WordPress - Remove emoji support from header

Aug 31st, 2019
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. <?php
  2. // WordPress - Remove emoji support from header
  3. remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
  4. remove_action( 'wp_print_styles', 'print_emoji_styles' );  
  5. remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
  6. remove_action( 'admin_print_styles', 'print_emoji_styles' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement