-
-
Save rexrony/0498ccddb48554cc74dd75032c8e7352 to your computer and use it in GitHub Desktop.
Add this code for disable WooCommerce Gallery Slider and FlexSlider script
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 | |
| /** | |
| * Remove WooCommerce flexslider script & product gallery slider | |
| */ | |
| function wpb_wiz_after_theme_setup(){ | |
| remove_theme_support( 'wc-product-gallery-slider' ); | |
| } | |
| add_action( 'after_setup_theme', 'wpb_wiz_after_theme_setup', 99 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment