WC_Background_Updater::__construct
Initiate new background process.
Method of the class: WC_Background_Updater{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WC_Background_Updater = new WC_Background_Updater(); $WC_Background_Updater->__construct();
WC_Background_Updater::__construct() WC Background Updater:: construct code WC 10.8.1
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();
}