Created
          May 8, 2017 17:55 
        
      - 
      
- 
        Save rynaldos-zz/f2144cc484a2983fe18fa54315b286a5 to your computer and use it in GitHub Desktop. 
    [WooCommerce 3.0] Add support for new product gallery
  
        
  
    
      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
    
  
  
    
  | add_action( 'after_setup_theme', 'yourtheme_setup' ); | |
| function yourtheme_setup() { | |
| add_theme_support( 'wc-product-gallery-zoom' ); | |
| add_theme_support( 'wc-product-gallery-lightbox' ); | |
| add_theme_support( 'wc-product-gallery-slider' ); | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment