// Automatically Delete Woocommerce Images After Deleting a Product add_action( 'before_delete_post', 'delete_product_images', 10, 1 ); function delete_product_images( $post_id ) { $product = wc_get_product( $post_id ); if ( !$product ) { return; } $featured_image_id = $product->get_image_id(); $image_galleries_id = $product->get_gallery_image_ids(); if( !empty( $featured_image_id ) ) { wp_delete_post( $featured_image_id ); } if( !empty( $image_galleries_id ) ) { foreach( $image_galleries_id as $single_image_id ) { wp_delete_post( $single_image_id ); } } }
SKU: 14937

Lot of 2 HP Proliant BL460c Gen8 Smart Array P220i Controllers No Batteries 670026-001

Lot of 2 HP Proliant BL460c Gen8 Smart Array P220i Controller 670026-001

  • Brand: HP
  • Model: Smart Array P220i
  • P/N: 670026-001

Batteries Not Included

30 Day Warranty

$18.99

16 in stock