Created
February 12, 2017 17:11
-
-
Save bdeleasa/31ece47ebf4e02aad97331c74b6cfb38 to your computer and use it in GitHub Desktop.
Dequeues the default styles provided by the Easy Testimonials plugin.
This file contains hidden or 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 | |
| add_action( 'wp_enqueue_scripts', 'themename_dequeue_easy_testimonials_scripts' ); | |
| /** | |
| * Dequeues the default styles provided by the Easy Testimonials plugin. | |
| * | |
| * We're styling the widgets and posts ourselves, so we don't need their | |
| * extra stylesheet. | |
| * | |
| * @since 1.0.0 | |
| * | |
| * @param none | |
| * @return null | |
| */ | |
| function themename_dequeue_easy_testimonials_scripts() { | |
| wp_dequeue_style( 'easy_testimonial_style' ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment