WordPress at Your Fingertips
function is not described

WC_Abstract_Privacy::init() protected WC 1.0

Hook in events.

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

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->init();

Code of WC_Abstract_Privacy::init() WC 5.5.2

<?php
protected function init() {
	add_action( 'admin_init', array( $this, 'add_privacy_message' ) );
	// We set priority to 5 to help WooCommerce's findings appear before those from extensions in exported items.
	add_filter( 'wp_privacy_personal_data_exporters', array( $this, 'register_exporters' ), $this->export_priority );
	add_filter( 'wp_privacy_personal_data_erasers', array( $this, 'register_erasers' ), $this->erase_priority );
}