Skip to content
Snippets Groups Projects
Commit f3d91c22 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

Merge branch 'feature/plugin-url' into 'devel'

Merge of feature/plugin-url to devel

See merge request !4
parents f23ee0a9 0d216d16
No related branches found
No related tags found
1 merge request!4Merge of feature/plugin-url to devel
Pipeline #
...@@ -22,6 +22,9 @@ class WPDesk_Plugin_Info implements WPDesk_Translable, WPDesk_Buildable, WPDesk_ ...@@ -22,6 +22,9 @@ class WPDesk_Plugin_Info implements WPDesk_Translable, WPDesk_Buildable, WPDesk_
/** @var string */ /** @var string */
private $plugin_dir; private $plugin_dir;
/** @var string */
private $plugin_url;
/** @var string */ /** @var string */
private $class_name; private $class_name;
...@@ -65,6 +68,20 @@ class WPDesk_Plugin_Info implements WPDesk_Translable, WPDesk_Buildable, WPDesk_ ...@@ -65,6 +68,20 @@ class WPDesk_Plugin_Info implements WPDesk_Translable, WPDesk_Buildable, WPDesk_
$this->plugin_dir = $plugin_dir; $this->plugin_dir = $plugin_dir;
} }
/**
* @return string
*/
public function get_plugin_url() {
return $this->plugin_url;
}
/**
* @param string $plugin_url
*/
public function set_plugin_url( $plugin_url ) {
$this->plugin_url = $plugin_url;
}
/** /**
* @return string * @return string
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment