mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
Move function lower down
This commit is contained in:
parent
60b58949ce
commit
63e9ea97f4
1 changed files with 11 additions and 9 deletions
|
@ -40,15 +40,6 @@ class Plugin_Name {
|
|||
*/
|
||||
protected $plugin_slug = 'plugin-name';
|
||||
|
||||
/**
|
||||
* Return the plugin slug.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function get_plugin_slug() {
|
||||
return $this->plugin_slug;
|
||||
}
|
||||
|
||||
/**
|
||||
* Instance of this class.
|
||||
*
|
||||
|
@ -81,6 +72,17 @@ class Plugin_Name {
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the plugin slug.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
*@return Plugin slug variable.
|
||||
*/
|
||||
public function get_plugin_slug() {
|
||||
return $this->plugin_slug;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an instance of this class.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue