WordPress at a glance
filter is not described

woocommerce_privacy_erase_personal_data_customer filter-hook . WC 3.4.0

Allow extensions to remove data for this customer and adjust the response.

Usage

add_filter( 'woocommerce_privacy_erase_personal_data_customer', 'filter_function_name_3333', 10, 2 );
function filter_function_name_3333( $response, $order ){
	// filter...

	return $response;
}
$response(array)
Array resonse data. Must include messages, num_items_removed, num_items_retained, done.
$order(WC_Order)
A customer object.

Changelog

Since 3.4.0 Introduced.

Where the hook is called

WC_Privacy_Erasers::customer_data_eraser()
woocommerce_privacy_erase_personal_data_customer
woocommerce/includes/class-wc-privacy-erasers.php 100
return apply_filters( 'woocommerce_privacy_erase_personal_data_customer', $response, $customer );

Where in WP core the hook is used WooCommerce

Usage not found.