Пример #1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     $args = array('slug' => 'licensing', 'description' => __("Manage product licenses.", Plugin::SLUG), 'metabox_title' => __("Licensing", Plugin::SLUG), 'product_types' => array('digital-downloads-product-type'));
     parent::__construct($args);
     add_action('wp_ajax_itelic_get_key_type_settings', array($this, 'ajax_get_key_type_settings'));
     add_action('transition_post_status', array($this, 'activate_initial_release'), 10, 3);
 }
Пример #2
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     $args = array('slug' => 'licensing-upgrades', 'description' => __("Upgrade paths allow your customers to change their license type at any time.", Plugin::SLUG), 'metabox_title' => __("Licensing Upgrades", Plugin::SLUG), 'product_types' => array('digital-downloads-product-type'));
     parent::__construct($args);
 }
 /**
  * Constructor.
  *
  * Register our product feature with Exchange.
  */
 public function __construct()
 {
     $args = array('slug' => 'affwp-per-product-rate', 'description' => __('Manage per-product affiliate rates.', 'affiliate-wp'), 'metabox_title' => __('AffiliateWP', 'affiliate-wp'));
     parent::IT_Exchange_Product_Feature_Abstract($args);
 }
Пример #4
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     $args = array('slug' => 'licensing-readme', 'description' => __("Manage this WordPress Product's README.", Plugin::SLUG), 'metabox_title' => __("Licensing README", Plugin::SLUG), 'product_types' => array('digital-downloads-product-type'));
     parent::__construct($args);
 }
Пример #5
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     $args = array('slug' => 'licensing-discount', 'description' => __("Manage renewal discounts.", Plugin::SLUG), 'metabox_title' => __("Licensing Discount", Plugin::SLUG), 'product_types' => array('digital-downloads-product-type'));
     parent::__construct($args);
 }