esc_html__('Clothes', 'ai-try-on-assistant'), 'hair' => esc_html__('Hair', 'ai-try-on-assistant'), 'makeup' => esc_html__('Makeup', 'ai-try-on-assistant'), ); // Get product images $product = wc_get_product($post->ID); $gallery_image_ids = $product ? $product->get_gallery_image_ids() : array(); $featured_image_id = $product ? $product->get_image_id() : 0; $all_image_ids = array(); if ($featured_image_id) { $all_image_ids[] = $featured_image_id; } $all_image_ids = array_merge($all_image_ids, $gallery_image_ids); ?>