WordPress at Your Fingertips
filter is not described

woocommerce_customer_get_total_spent filter-hook . WC 3.0.0

Return how much money this customer has spent.

Usage

add_filter( 'woocommerce_customer_get_total_spent', 'filter_function_name_1644' );
function filter_function_name_1644( $customer ){
	// filter...

	return $customer;
}
$customer
-

Changelog

Since 3.0.0 Introduced.

Where the hook is called

WC_Customer_Data_Store::get_total_spent()
woocommerce_customer_get_total_spent
woocommerce/includes/data-stores/class-wc-customer-data-store.php 404-408
$spent = apply_filters(
	'woocommerce_customer_get_total_spent',
	get_user_meta( $customer->get_id(), '_money_spent', true ),
	$customer
);

Where in WP core the hook is used WooCommerce

Usage not found.