Reply To: Font Awesome vs SVG

Home Forums Support Font Awesome vs SVG Reply To: Font Awesome vs SVG

#204941
Ramesh Srinivasan

Would these two functions should to the trick?

add_action( ‘wp_enqueue_scripts’, ‘generate_custom_scripts’, 10 );
function generate_custom_scripts() {
wp_dequeue_style( ‘fontawesome’ );
}

add_filter( ‘generate_fontawesome_essentials’, ‘generate_fontawesome_essentials’ );
function generate_fontawesome_essentials()
{
return true;
}