woocommerce_analytics_update_customer

woocommerce_analytics_update_customer

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_analytics_update_customer') is found 2 times:

  • /src/Admin/API/Reports/Customers/DataStore.php line 163
    		 *
    		 * @param int $customer_id Customer ID.
    		 * @since 4.0.0
    		 */
    		do_action( 'woocommerce_analytics_update_customer', $customer_id );
    
    		return 1 === $result;
    	}
    
    	/**
    	 * Maps ordering specified by the user to columns in the database/fields in the data.
    
  • /src/Admin/API/Reports/Customers/DataStore.php line 810
    		 *
    		 * @param int $customer_id Customer ID.
    		 * @since 4.0.0
    		 */
    		do_action( 'woocommerce_analytics_update_customer', $customer_id );
    
    		ReportsCache::invalidate();
    
    		return $results;
    	}