Something is incorrect in this code

wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-brands-400.woff2 error occures on my wordpress page so I tried putting snippet code:

add\_action( ‘wp\_enqueue\_scripts’, ‘generate\_remove\_font-awesome’, 400 );

function generate\_remove\_fontawesome() {

wp\_dequeue\_style( ‘font-awesome’ );

Unfortunately it doesn’t work. Every help would be appreciated.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer