Nope, nothing changes. This is my functions.php file:
<?php
/**
* Generate child theme functions and definitions
*
* @package Generate
*/
add_filter( ‘generate_fontawesome_essentials’, ‘tu_fontawesome_essentials’ );
function tu_fontawesome_essentials() {
return true;
}
add_filter( ‘style_loader_src’, ‘generate_remove_cssjs_ver’, 10, 2 );
add_filter( ‘script_loader_src’, ‘generate_remove_cssjs_ver’, 10, 2 );
function generate_remove_cssjs_ver( $src ) {
if( strpos( $src, ‘?ver=’ ) )
$src = remove_query_arg( ‘ver’, $src );
return $src;
}
add_action( ‘init’, ‘generate_disable_wp_emojicons’ );
function generate_disable_wp_emojicons()
{
// all actions related to emojis
remove_action( ‘admin_print_styles’, ‘print_emoji_styles’ );
remove_action( ‘wp_head’, ‘print_emoji_detection_script’, 7 );
remove_action( ‘admin_print_scripts’, ‘print_emoji_detection_script’ );
remove_action( ‘wp_print_styles’, ‘print_emoji_styles’ );
remove_filter( ‘wp_mail’, ‘wp_staticize_emoji_for_email’ );
remove_filter( ‘the_content_feed’, ‘wp_staticize_emoji’ );
remove_filter( ‘comment_text_rss’, ‘wp_staticize_emoji’ );
}
function defer_parsing_of_js ( $url ) {
if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;
if ( strpos( $url, ‘jquery.js’ ) ) return $url;
return “$url’ defer “;
}
add_filter( ‘clean_url’, ‘defer_parsing_of_js’, 11, 1 );