WordPress at Your Fingertips
function is not described

WC_Background_Updater::__construct() public WC 1.0

Initiate new background process.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Background_Updater::__construct() WC 5.6.0

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

	parent::__construct();
}