mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 11:53:53 +02:00
Storing plugin version in a class constant
This commit is contained in:
parent
86ecda68f6
commit
4d629b5323
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@ class Plugin_Name {
|
|||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @var string
|
||||
* @const string
|
||||
*/
|
||||
protected $version = '1.0.0';
|
||||
const VERSION = '1.0.0';
|
||||
|
||||
/**
|
||||
* Unique identifier for your plugin.
|
||||
|
|
Loading…
Reference in a new issue