WC_Abstract_Privacy::__construct()publicWC 1.0

WC_Abstract_Privacy Constructor.

Method of the class: WC_Abstract_Privacy{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Abstract_Privacy = new WC_Abstract_Privacy();
$WC_Abstract_Privacy->__construct( $name, $export_priority, $erase_priority );
$name(string)
Plugin identifier.
Default: ''
$export_priority(int)
Export priority.
Default: 5
$erase_priority(int)
Erase priority.
Default: 10

WC_Abstract_Privacy::__construct() code WC 8.7.0

public function __construct( $name = '', $export_priority = 5, $erase_priority = 10 ) {
	$this->name            = $name;
	$this->export_priority = $export_priority;
	$this->erase_priority  = $erase_priority;
	$this->init();
}