1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-05-13 16:52:10 +03:00

Merge pull request #67 from GeertDD/const

Storing plugin version in a class constant
This commit is contained in:
Tom McFarlin 2013-08-21 05:01:05 -07:00
commit 10f1e5f08c

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.