diff --git a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-coupons-data-store.php b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-coupons-data-store.php index e73eabbf121..c834df19070 100644 --- a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-coupons-data-store.php +++ b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-coupons-data-store.php @@ -351,7 +351,7 @@ class WC_Admin_Reports_Coupons_Data_Store extends WC_Admin_Reports_Data_Store im * @param int $coupon_id Coupon ID. * @param int $order_id Order ID. */ - do_action( 'woocommerce_update_reports_coupon', $coupon_id, $order_id ); + do_action( 'woocommerce_reports_update_coupon', $coupon_id, $order_id ); } } diff --git a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-customers-data-store.php b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-customers-data-store.php index cd796e82839..1eafb4ef099 100644 --- a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-customers-data-store.php +++ b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-customers-data-store.php @@ -441,7 +441,7 @@ class WC_Admin_Reports_Customers_Data_Store extends WC_Admin_Reports_Data_Store * * @param int $customer_id Customer ID. */ - do_action( 'woocommerce_new_reports_customer', $customer_id ); + do_action( 'woocommerce_reports_new_customer', $customer_id ); return $result ? $customer_id : false; } @@ -572,7 +572,7 @@ class WC_Admin_Reports_Customers_Data_Store extends WC_Admin_Reports_Data_Store * * @param int $customer_id Customer ID. */ - do_action( 'woocommerce_update_reports_customer', $customer_id ); + do_action( 'woocommerce_reports_update_customer', $customer_id ); return $results; } diff --git a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-orders-stats-data-store.php b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-orders-stats-data-store.php index 5f2cdd16de8..673e9805623 100644 --- a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-orders-stats-data-store.php +++ b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-orders-stats-data-store.php @@ -457,7 +457,7 @@ class WC_Admin_Reports_Orders_Stats_Data_Store extends WC_Admin_Reports_Data_Sto * * @param int $order_id Order ID. */ - do_action( 'woocommerce_update_reports_order_stats', $order->get_id() ); + do_action( 'woocommerce_reports_update_order_stats', $order->get_id() ); return $results; } diff --git a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-products-data-store.php b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-products-data-store.php index 017bf173eb9..f203374c089 100644 --- a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-products-data-store.php +++ b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-products-data-store.php @@ -367,7 +367,7 @@ class WC_Admin_Reports_Products_Data_Store extends WC_Admin_Reports_Data_Store i * @param int $order_item_id Order Item ID. * @param int $order_id Order ID. */ - do_action( 'woocommerce_delete_reports_product', $order_item_id, $order->get_id() ); + do_action( 'woocommerce_reports_delete_product', $order_item_id, $order->get_id() ); } else { $wpdb->replace( $wpdb->prefix . self::TABLE_NAME, @@ -412,7 +412,7 @@ class WC_Admin_Reports_Products_Data_Store extends WC_Admin_Reports_Data_Store i * @param int $order_item_id Order Item ID. * @param int $order_id Order ID. */ - do_action( 'woocommerce_update_reports_product', $order_item_id, $order->get_id() ); + do_action( 'woocommerce_reports_update_product', $order_item_id, $order->get_id() ); } } } diff --git a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-taxes-data-store.php b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-taxes-data-store.php index 3764508a86b..c49a9e89ba6 100644 --- a/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-taxes-data-store.php +++ b/plugins/woocommerce-admin/includes/data-stores/class-wc-admin-reports-taxes-data-store.php @@ -291,7 +291,7 @@ class WC_Admin_Reports_Taxes_Data_Store extends WC_Admin_Reports_Data_Store impl * @param int $tax_rate_id Tax Rate ID. * @param int $order_id Order ID. */ - do_action( 'woocommerce_update_reports_tax', $tax_item->get_rate_id(), $order->get_id() ); + do_action( 'woocommerce_reports_update_tax', $tax_item->get_rate_id(), $order->get_id() ); } }