Last active
February 23, 2016 17:50
-
-
Save carasmo/889cb6561e8778ac8567 to your computer and use it in GitHub Desktop.
wp_dequeue_style for Tweet This plugin
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 | |
// don't use this | |
// this goes in your functions.php file in your child theme. | |
/** ==================================================================================== | |
* wp_dequeue_style for plugins | |
==================================================================================== **/ | |
function christina_dequeue_css_from_plugins() { | |
wp_dequeue_style('tt-public-css-main'); | |
wp_dequeue_style('tt-public-css-theme'); | |
} | |
add_action('wp_print_styles', 'christina_dequeue_css_from_plugins', 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment