//* Remove query strings from static resources add_filter( 'script_loader_src', '_remove_script_version', 15, 1 ); add_filter( 'style_loader_src', '_remove_script_version', 15, 1 ); function _remove_script_version( $src ){ $parts = explode( '?ver', $src ); return $parts[0]; } //* Remove WP emoji code remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); remove_action( 'wp_print_styles', 'print_emoji_styles' );
WordPress Lightbox