Skip to content

Instantly share code, notes, and snippets.

@bdeleasa
Created July 7, 2015 15:31
Show Gist options
  • Save bdeleasa/7668d33225441b325070 to your computer and use it in GitHub Desktop.
Save bdeleasa/7668d33225441b325070 to your computer and use it in GitHub Desktop.
Dequeue's the WP Social Networks Widget plugin styles
<?php
add_action( 'wp_enqueue_scripts', 'themename_dequeue_wpsnw_styles', 9999 );
/**
* Removes the WP Social Networks Widget plugin styles because we're styling
* the icons with our theme CSS.
*
* @param none
* @return none
*
* @since 3.4.0
*/
function themename_dequeue_wpsnw_styles() {
wp_dequeue_style( 'wpsnw-styles' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment