Skip to content
Snippets Groups Projects
Commit 75303348 authored by Piotr Po's avatar Piotr Po
Browse files

Added plugin name methods

parent 5085922f
No related branches found
No related tags found
1 merge request!11Added plugin name methods
Pipeline #8564 passed with stages
in 3 minutes and 27 seconds
## [2.3.2] - 2019-04-16
### Added
- Plugin name methods
## [2.3.1] - 2019-03-25 ## [2.3.1] - 2019-03-25
### Fixed ### Fixed
- Backward compatibility - Backward compatibility
......
...@@ -31,6 +31,9 @@ class WPDesk_Plugin_Info implements WPDesk_Translatable, WPDesk_Buildable, WPDes ...@@ -31,6 +31,9 @@ class WPDesk_Plugin_Info implements WPDesk_Translatable, WPDesk_Buildable, WPDes
/** @var string */ /** @var string */
private $version; private $version;
/** @var string */
private $plugin_name;
/** @var string */ /** @var string */
private $product_id; private $product_id;
...@@ -96,6 +99,21 @@ class WPDesk_Plugin_Info implements WPDesk_Translatable, WPDesk_Buildable, WPDes ...@@ -96,6 +99,21 @@ class WPDesk_Plugin_Info implements WPDesk_Translatable, WPDesk_Buildable, WPDes
$this->version = $version; $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 * @return string
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment