Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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
You can’t perform that action at this time.