woocommerce_photoswipe

Get the shop sidebar template.

Description

woocommerce_photoswipe(); 

Usage

  1. if ( !function_exists( 'woocommerce_photoswipe' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-template-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = woocommerce_photoswipe(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-template-functions.php  
  1. function woocommerce_photoswipe() { 
  2. if ( current_theme_supports( 'wc-product-gallery-lightbox' ) ) { 
  3. wc_get_template( 'single-product/photoswipe.php' );