Remove Font-Awesome MaxCDN Link & Load Locally

by squidg   Last Updated January 11, 2019 12:08 PM - source

MaxCDN is slowing down my site so I want to load font-awesome locally but I can't seem to write the correct function to remove it.

function remove_unwanted_css(){
wp_dequeue_style(‘font-awesome’, ‘’);
add_filter(‘wp_print_styles’, ‘remove_unwanted_css’);
Tags : functions fonts

Related Questions

I can't seem to install Font Awesome locally

Updated April 05, 2018 05:08 AM

Why doesn't my chevrons populate in the carousel?

Updated February 26, 2017 05:08 AM

how to remove google fonts form theme

Updated April 27, 2018 04:08 AM

How to host google fonts in wordpress theme locally?

Updated December 26, 2018 21:08 PM