woocommerce_analytics_update_order_stats, $order->get_id(

woocommerce_analytics_update_order_stats, $order->get_id(

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_analytics_update_order_stats, $order->get_id(') is found 1 times:

  • /src/Admin/API/Reports/Orders/Stats/DataStore.php line 633
    		 * @param int $order_id Order ID.
    		 *
    		 * @since 4.0.0.
    		 */
    		do_action( 'woocommerce_analytics_update_order_stats', $order->get_id() );
    
    		// Check the rows affected for success. Using REPLACE can affect 2 rows if the row already exists.
    		return ( 1 === $result || 2 === $result );
    	}
    
    	/**