/** * Class constructor */ public function __construct() { /* Set up some parent's vars */ $this->pluginName = 'WooCommerce'; $this->pluginSlug = 'wootickets'; $this->pluginPath = trailingslashit(EVENT_TICKETS_PLUS_DIR); $this->pluginDir = trailingslashit(basename($this->pluginPath)); $this->pluginUrl = trailingslashit(plugins_url($this->pluginDir)); parent::__construct(); $this->hooks(); $this->orders_report(); $this->global_stock(); $this->meta(); $this->settings(); }
/** * Class constructor */ public function __construct() { /* Set up some parent's vars */ $this->pluginName = 'WPEC'; $this->pluginSlug = 'wpec'; $this->pluginPath = trailingslashit(EVENT_TICKETS_PLUS_DIR); $this->pluginDir = trailingslashit(basename($this->pluginPath)); $this->pluginUrl = trailingslashit(plugins_url($this->pluginDir)); parent::__construct(); $this->hooks(); $this->meta(); }
/** * Class constructor */ public function __construct() { $this->pluginName = 'Shopp'; // This string is used for form a link to the product editor $this->pluginSlug = 'shopptickets'; $this->pluginPath = trailingslashit(EVENT_TICKETS_PLUS_DIR); $this->pluginDir = trailingslashit(basename($this->pluginPath)); $this->pluginUrl = trailingslashit(plugins_url($this->pluginDir)); parent::__construct(); $this->setup(); $this->hooks(); $this->meta(); }