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.3.3

apply_filters('woocommerce_placeholder_img') is found 1 times:

  • /includes/wc-product-functions.php line 349
     
    		$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: