1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-04-28 17:33:16 +03:00

adding a public getter for the plugin slug so that external classes can reference it

ht @garyjoes b5549d5f9c (commitcomment-6236733)
This commit is contained in:
Tom McFarlin 2014-05-08 16:50:23 -04:00
parent 71f40d5e7a
commit 00c5f7d733

View file

@ -37,6 +37,10 @@ class Plugin_Name {
$this->loader->run();
}
public function get_plugin_slug() {
return $this->plugin_slug;
}
/**
* This class is used to define common functionality that exists between
* both the dashboard and the public-facing side of the website. Think