Adds image to WooCommerce order emails

PHOTO EMBED

Mon Aug 02 2021 08:20:32 GMT+0000 (UTC)

Saved by @Alz #php

// Adds image to WooCommerce order emails
function w3p_add_image_to_wc_emails( $args ) {
    $args['show_image'] = true;
    $args['image_size'] = array( 100, 50 );
    return $args;
}
add_filter( 'woocommerce_email_order_items_args', 'w3p_add_image_to_wc_emails' );
content_copyCOPY

https://seodoityourself.co.il/איך-להוסיף-תמונת-מוצר-להזמנות-של-ווקומ/