mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2025-01-31 06:55:33 +02:00
Merge pull request #67 from GeertDD/const
Storing plugin version in a class constant
This commit is contained in:
commit
10f1e5f08c
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@ class Plugin_Name {
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*
|
*
|
||||||
* @var string
|
* @const string
|
||||||
*/
|
*/
|
||||||
protected $version = '1.0.0';
|
const VERSION = '1.0.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unique identifier for your plugin.
|
* Unique identifier for your plugin.
|
||||||
|
|
Loading…
Add table
Reference in a new issue