woocommerce_analytics_update_customer

woocommerce_analytics_update_customer

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

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

do_action('woocommerce_analytics_update_customer') is found 2 times:

  • /src/Admin/API/Reports/Customers/DataStore.php line 173
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
         *
         * @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
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
         *
         * @param int $customer_id Customer ID.
         * @since 4.0.0
         */
        do_action( 'woocommerce_analytics_update_customer', $customer_id );
     
        ReportsCache::invalidate();
     
        return $results;
    }