Skip to content
Snippets Groups Projects

Added plugin name methods

Closed Krzysztof Dyszczyk requested to merge feature/plugin-name into master
2 files
+ 22
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 18
0
@@ -31,6 +31,9 @@ class WPDesk_Plugin_Info implements WPDesk_Translatable, WPDesk_Buildable, WPDes
/** @var string */
private $version;
/** @var string */
private $plugin_name;
/** @var string */
private $product_id;
@@ -96,6 +99,21 @@ class WPDesk_Plugin_Info implements WPDesk_Translatable, WPDesk_Buildable, WPDes
$this->version = $version;
}
/**
* @return string
*/
public function get_plugin_name() {
return $this->plugin_name;
}
/**
* @param string $product_id
*/
public function set_plugin_name( $plugin_name ) {
$this->plugin_name = $plugin_name;
}
/**
* @return string
*/
Loading