WC_Privacy_Background_Process::__construct()publicWC 1.0

Initiate new background process.

Method of the class: WC_Privacy_Background_Process{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Privacy_Background_Process = new WC_Privacy_Background_Process();
$WC_Privacy_Background_Process->__construct();

WC_Privacy_Background_Process::__construct() code WC 9.4.2

public function __construct() {
	// Uses unique prefix per blog so each blog has separate queue.
	$this->prefix = 'wp_' . get_current_blog_id();
	$this->action = 'wc_privacy_cleanup';
	parent::__construct();
}