woocommerce_analytics_update_customer, $customer_id

woocommerce_analytics_update_customer, $customer_id

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_analytics_update_customer, $customer_id') is found 2 times:

  • /src/Admin/API/Reports/Customers/DataStore.php line 219
    		 *
    		 * @param int $customer_id Customer ID.
    		 * @since 4.0.0
    		 */
    		do_action( 'woocommerce_analytics_update_customer', $customer_id );
    
    		return 1 === $result;
    	}
    
    	/**
    	 * Fills ORDER BY clause of SQL request based on user supplied parameters. Overridden here to allow multiple direction
    
  • /src/Admin/API/Reports/Customers/DataStore.php line 990
    		 *
    		 * @param int $customer_id Customer ID.
    		 * @since 4.0.0
    		 */
    		do_action( 'woocommerce_analytics_update_customer', $customer_id );
    
    		ReportsCache::invalidate();
    
    		return $results;
    	}