WC_Abstract_Privacy::register_exporterspublicWC 1.0

Integrate this exporter implementation within the WordPress core exporters.

Method of the class: WC_Abstract_Privacy{}

No Hooks.

Returns

Array.

Usage

$WC_Abstract_Privacy = new WC_Abstract_Privacy();
$WC_Abstract_Privacy->register_exporters( $exporters );
$exporters(array)
List of exporter callbacks.
Default: array()

WC_Abstract_Privacy::register_exporters() code WC 9.9.4

public function register_exporters( $exporters = array() ) {
	foreach ( $this->exporters as $id => $exporter ) {
		$exporters[ $id ] = $exporter;
	}
	return $exporters;
}