Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (19 sloc) 746 Bytes
@description Placeholder used for the image gallery's feature image on product single pages
@version 1.0.0
@since 1.0.49
@path templates/partials/products/single/img-feat-placeholder.php
if ( !defined('ABSPATH') ) {
$productImg = sprintf(
__('<div class="%1$s-wrapper"><img itemprop="image" src="%2$s" class="wps-product-gallery-img %3$s" alt="%4$s"></div>'),
esc_url($data->settings->plugin_url . 'public/imgs/placeholder.png'),
echo apply_filters('wps_product_img', $productImg, $data->product, 0);
You can’t perform that action at this time.