Hi,
how is it possible to remove this link:
<link rel='stylesheet' id='font-awesome-css' href='https://use.fontawesome.com/releases/v5.0.2/css/all.css?ver=4.9.5' type='text/css' media='all' />
Yes, I know it’s not recommended, but I want/need to host the Icons on own server because of the new data regulations stuff in europe.
I managed to remove the google fonts link from X in my function.php in the child-theme, but please can you give me an advice for the font-awesome thing?
Thank you!
// Remove Google Fonts from X
// =============================================================================
function x_remove_google_fonts(){
wp_dequeue_style( ‘x-font-custom’ );
wp_dequeue_style( ‘x-font-standard’ );
}
add_action( ‘wp_enqueue_scripts’, function() {
wp_dequeue_style( ‘x-google-fonts’ );
}, 99 );