1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-05-14 09:12:10 +03:00

Storing plugin version in a class constant

This commit is contained in:
Geert De Deckere 2013-08-19 08:47:32 +02:00
parent 86ecda68f6
commit 4d629b5323

View file

@ -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.