WordPress at a glance
filter is not described

woocommerce_privacy_erase_personal_data_tokens filter-hook . WC 3.4.0

Allow extensions to remove data for tokens and adjust the response.

Usage

add_filter( 'woocommerce_privacy_erase_personal_data_tokens', 'filter_function_name_2877', 10, 2 );
function filter_function_name_2877( $response, $tokens ){
	// filter...

	return $response;
}
$response(array)
Array resonse data. Must include messages, num_items_removed, num_items_retained, done.
$tokens(array)
Array of tokens.

Changelog

Since 3.4.0 Introduced.

Where the hook is called

WC_Privacy_Erasers::customer_tokens_eraser()
woocommerce_privacy_erase_personal_data_tokens
woocommerce/includes/class-wc-privacy-erasers.php 410
return apply_filters( 'woocommerce_privacy_erase_personal_data_tokens', $response, $tokens );

Where in WP core the hook is used WooCommerce

Usage not found.