woocommerce_remove_order_personal_data хук-событиеWC 1.0

Использование

add_action( 'woocommerce_remove_order_personal_data', 'wp_kama_woocommerce_remove_order_personal_data_action' );

/**
 * Function for `woocommerce_remove_order_personal_data` action-hook.
 * 
 * @param  $order 
 *
 * @return void
 */
function wp_kama_woocommerce_remove_order_personal_data_action( $order ){

	// action...
}
$order
-

Где вызывается хук

ListTable::do_bulk_action_remove_personal_data()
woocommerce_remove_order_personal_data
WC_Admin_List_Table_Orders::handle_bulk_actions()
woocommerce_remove_order_personal_data
woocommerce/src/Internal/Admin/Orders/ListTable.php 977
do_action( 'woocommerce_remove_order_personal_data', $order ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
woocommerce/includes/admin/list-tables/class-wc-admin-list-table-orders.php 461
do_action( 'woocommerce_remove_order_personal_data', $order );

Где используется хук в WooCommerce

woocommerce/includes/class-wc-privacy.php 43
add_action( 'woocommerce_remove_order_personal_data', array( 'WC_Privacy_Erasers', 'remove_order_personal_data' ) );