woocommerce_placeholder_img

woocommerce_placeholder_img

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_placeholder_img') is found 1 times:

  • /includes/wc-product-functions.php line 461
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
            $image_html = '<img src="' . esc_url( $image ) . '" ' . $hwstring . implode( ' ', $attributes ) . '/>';
        }
     
        return apply_filters( 'woocommerce_placeholder_img', $image_html, $size, $dimensions );
    }
     
    /**
     * Variation Formatting.
     *
     * Gets a formatted version of variation data or item meta.

See this hook used in plugins: