Created
April 18, 2020 10:44
-
-
Save vfontjr/8ae858b2f54706eff8c13ee0841e4348 to your computer and use it in GitHub Desktop.
Code snippet for https://victorfont.com/deactivate-atomic-blocks-font-awesome/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Font Awesome Pro 5 | |
* if using Atomic Blocks and not in the editor | |
* remove the plugin's Font Awesome Free styles | |
*/ | |
if ( wp_style_is( 'atomic-blocks-fontawesome' ) ) { | |
wp_dequeue_style( 'atomic-blocks-fontawesome' ); | |
wp_deregister_style( 'atomic-blocks-fontawesome' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment