woocommerce_privacy_erase_customer_personal_data_prop

woocommerce_privacy_erase_customer_personal_data_prop

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_privacy_erase_customer_personal_data_prop') is found 1 times:

  • /includes/class-wc-privacy-erasers.php line 83
    					$erased = true;
    				}
    			}
    
    			$erased = apply_filters( 'woocommerce_privacy_erase_customer_personal_data_prop', $erased, $prop, $customer );
    
    			if ( $erased ) {
    				/* Translators: %s Prop name. */
    				$response['messages'][]    = sprintf( __( 'Removed customer "%s"', 'woocommerce' ), $label );
    				$response['items_removed'] = true;
    			}