woocommerce_analytics_update_tax, $tax_item->get_rate_id(
woocommerce_analytics_update_tax, $tax_item->get_rate_id(
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_analytics_update_tax, $tax_item->get_rate_id(') is found 1 times:
- /src/Admin/API/Reports/Taxes/DataStore.php line 308
* * @param int $tax_rate_id Tax Rate ID. * @param int $order_id Order ID. */ do_action( 'woocommerce_analytics_update_tax', $tax_item->get_rate_id(), $order->get_id() ); // Sum the rows affected. Using REPLACE can affect 2 rows if the row already exists. $num_updated += 2 === intval( $result ) ? 1 : intval( $result ); } return ( count( $tax_items ) === $num_updated );