Hi there guys
I’m trying to optimize x theme avoiding to load some scripts including some actions on x-child.
Unfortunately this has been impossible. X-child does not seem to take this codes in count.
The code is taken when I paste it directly on my main X functions.php
I’d want to delete emojis code from wordpress to load so I tried to add this code (and another code)
// 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’ );
I have no idea why this is not working …
Any idea would be more than welcome to solve this .
Many thanks