Created
September 14, 2019 00:18
-
-
Save webtrainingwheels/16649b0c1df70d90c580510b1d7a0224 to your computer and use it in GitHub Desktop.
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 | |
//Disables HTML minification on product category archive pages | |
add_filter( 'pre_get_rocket_option_minify_html', function() { | |
if (is_product_category()){ | |
return 0; | |
} | |
return null; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment