woocommerce_analytics_update_customer

woocommerce_analytics_update_customer

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_analytics_update_customer') is found 2 times:

  • /src/Admin/API/Reports/Customers/DataStore.php line 173
    		 *
    		 * @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 823
    		 *
    		 * @param int $customer_id Customer ID.
    		 * @since 4.0.0
    		 */
    		do_action( 'woocommerce_analytics_update_customer', $customer_id );
    
    		ReportsCache::invalidate();
    
    		return $results;
    	}