I got it working with this! 🙂
function update_on_product_save($product_id) {
global $product;
$product = wc_get_product( $product_id );
$product_title = $product->get_name();
$product_image_id = $product->get_image_id();
I got it working with this! 🙂
function update_on_product_save($product_id) {
global $product;
$product = wc_get_product( $product_id );
$product_title = $product->get_name();
$product_image_id = $product->get_image_id();