woocommerce_analytics_update_order_stats

woocommerce_analytics_update_order_stats

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_analytics_update_order_stats') is found 1 times:

  • /src/Admin/API/Reports/Orders/Stats/DataStore.php line 588
    		 * @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 );
    	}
    
    	/**