Skip to content

Instantly share code, notes, and snippets.

@slaffko1
Created September 9, 2019 18:39
Show Gist options
  • Save slaffko1/a82194851532c856b3c430bade8aac55 to your computer and use it in GitHub Desktop.
Save slaffko1/a82194851532c856b3c430bade8aac55 to your computer and use it in GitHub Desktop.
dequeue styles
add_action( 'wp_print_styles', 'dequeue_font_awesome_style' );
function dequeue_font_awesome_style() {
wp_dequeue_style( 'elementor-icons' );
wp_deregister_style( 'elementor-icons' );
wp_dequeue_style( 'font-awesome' );
wp_deregister_style( 'font-awesome' );
wp_dequeue_style( 'fontawsome' );
wp_deregister_style( 'fontawsome' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment