When WordPress tries to get an image with size from this array, the plugin enables the script to add watermarks to images for this product.
Parameters
- types – array with image sizes: shop_catalog, shop_single, shop_thumbnail.
Usage
<?php
function change_br_watermark_check_types ( $types ) {
//your code here
return $types;
}
add_filter( 'br_watermark_check_types', 'change_br_watermark_check_types', 10, 2 );
?>