Automattic\WooCommerce\Internal\StockNotifications\Privacy
PrivacyEraser::register_erasers_exporters
Register the eraser for stock notifications.
Method of the class: PrivacyEraser{}
No Hooks.
Returns
null. Nothing (null).
Usage
$PrivacyEraser = new PrivacyEraser(); $PrivacyEraser->register_erasers_exporters();
PrivacyEraser::register_erasers_exporters() PrivacyEraser::register erasers exporters code WC 10.3.6
public function register_erasers_exporters() {
$this->add_eraser(
'woocommerce-customer-stock-notifications',
__( 'WooCommerce Customer Stock Notifications', 'woocommerce' ),
array( $this, 'erase_notification_data' )
);
}