WC_Abstract_Privacy::register_erasers()publicWC 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.
Default: array()

Code of WC_Abstract_Privacy::register_erasers() WC 6.8.2

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