public function __construct() { $file = plugin_basename(Yoast_GA_eCommerce_Tracking::PLUGIN_FILE); $slug = dirname($file); parent::__construct('https://www.monsterinsights.com', 'eCommerce Addon', $slug, Yoast_GA_eCommerce_Tracking::VERSION, 'https://www.monsterinsights.com/pricing/', 'admin.php?page=yst_ga_extensions#top#licenses', 'yoast-ga-ecommerce', 'MonsterInsights', $file); $this->setup_license_manager(); }
public function __construct() { parent::__construct('https://www.monsterinsights.com', 'Sample Product', 'sample-product', '1.0', 'https://www.monsterinsights.com/downloads/sample-product/', 'admin.php?page=sample-product', 'sample-product', 'MonsterInsights'); }
/** * Construct the real Product class with our fake data */ public function __construct() { parent::__construct(get_site_url(), 'test-product', 'slug-test-product', '1.0.0'); }