woocommerce_privacy_before_remove_order_personal_data action-hook . WC 3.4.0
Allow extensions to remove their own personal data for this order first, so order data is still available.
Usage
add_action( 'woocommerce_privacy_before_remove_order_personal_data', 'action_function_name_5535' ); function action_function_name_5535( $order ){ // action... }
- $order(WC_Order)
- A customer object.
Changelog
Since 3.4.0 | Introduced. |
Where the hook is called
woocommerce_privacy_before_remove_order_personal_data
woocommerce/includes/class-wc-privacy-erasers.php 226
do_action( 'woocommerce_privacy_before_remove_order_personal_data', $order );