diff --git a/includes/data-stores/class-wc-product-data-store-cpt.php b/includes/data-stores/class-wc-product-data-store-cpt.php index 12c72e57ad2..bb11561137c 100644 --- a/includes/data-stores/class-wc-product-data-store-cpt.php +++ b/includes/data-stores/class-wc-product-data-store-cpt.php @@ -102,7 +102,7 @@ class WC_Product_Data_Store_CPT extends WC_Data_Store_WP implements WC_Object_Da $product->apply_changes(); $this->clear_caches( $product ); - do_action( 'woocommerce_new_' . $post_type, $id ); + do_action( 'woocommerce_new_product', $id ); } }