In the source code on my homepage I see this
<link rel='stylesheet' id='font-awesome-css' href='hidden link' type='text/css' media='screen' />
I am also using the Better Font awesome plugin so the font-awesome.min.css is loaded twice which I want to stop.
I found the code below and added it to my themes function file and cleared cache. But the Toolset fontawesome reference still shows up. Should it not be removed with that code?
add_action('types_after_init', 'my_func', 999);
function my_func(){
wp_deregister_style( 'font-awesome' );
wp_deregister_style( 'font-awesome-css' );
}
Never mind this seems to work
add_action( 'wp_enqueue_scripts', function() {
wp_deregister_style('font-awesome');
}, -1 );