WordPress at Your Fingertips
function is not described

WC_Abstract_Privacy::register_erasers() public WC 1.0

Integrate this eraser implementation within the WordPress core erasers.

{} It's a method of the class: WC_Abstract_Privacy{}

No Hooks.

Return

Array.

Usage

$WC_Abstract_Privacy = new WC_Abstract_Privacy();
$WC_Abstract_Privacy->register_erasers( $erasers );
$erasers(array)
List of eraser callbacks.

Code of WC_Abstract_Privacy::register_erasers() WC 5.5.2

<?php
public function register_erasers( $erasers = array() ) {
	foreach ( $this->erasers as $id => $eraser ) {
		$erasers[ $id ] = $eraser;
	}
	return $erasers;
}