WordPress at Your Fingertips
filter is not described

woocommerce_privacy_export_order_personal_data_props filter-hook . WC 3.4.0

Get personal data (key/value pairs) for an order object.

Usage

add_filter( 'woocommerce_privacy_export_order_personal_data_props', 'filter_function_name_3445' );
function filter_function_name_3445( $order ){
	// filter...

	return $order;
}
$order
-

Changelog

Since 3.4.0 Introduced.

Where the hook is called

WC_Privacy_Exporters::get_order_personal_data()
woocommerce_privacy_export_order_personal_data_props
woocommerce/includes/class-wc-privacy-exporters.php 248-264
$props_to_export = apply_filters(
	'woocommerce_privacy_export_order_personal_data_props',
	array(
		'order_number'               => __( 'Order Number', 'woocommerce' ),
		'date_created'               => __( 'Order Date', 'woocommerce' ),
		'total'                      => __( 'Order Total', 'woocommerce' ),
		'items'                      => __( 'Items Purchased', 'woocommerce' ),
		'customer_ip_address'        => __( 'IP Address', 'woocommerce' ),
		'customer_user_agent'        => __( 'Browser User Agent', 'woocommerce' ),
		'formatted_billing_address'  => __( 'Billing Address', 'woocommerce' ),
		'formatted_shipping_address' => __( 'Shipping Address', 'woocommerce' ),
		'billing_phone'              => __( 'Phone Number', 'woocommerce' ),
		'billing_email'              => __( 'Email Address', 'woocommerce' ),
		'shipping_phone'             => __( 'Shipping Phone Number', 'woocommerce' ),
	),
	$order
);

Where in WP core the hook is used WooCommerce

Usage not found.