public function load() { if (!$this->woocommerceAvailable()) { return; } $this->loadLanguage(); $this->loadFunctions(); $this->loadClasses(); WBS_Profile_Manager::setup(); WBS_Upgrader::setup($this->pluginFile); }