WC_Abstract_Privacy::register_exporters()publicWC 1.0

Integrate this exporter implementation within the WordPress core exporters.

Метод класса: WC_Abstract_Privacy{}

Хуков нет.

Возвращает

Массив.

Использование

$WC_Abstract_Privacy = new WC_Abstract_Privacy();
$WC_Abstract_Privacy->register_exporters( $exporters );
$exporters(массив)
List of exporter callbacks.
По умолчанию: array()

Код WC_Abstract_Privacy::register_exporters() WC 8.7.0

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