Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
defining a base class from which all other components can inherit
also getting rid of the version constant in place of a properly, defining a single entry point with the run function, and defining the plugin slug as a property
- Loading branch information
1 parent
d29ebf7
commit b5549d5
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If this is a protected property, then you should probably have a public getter for it, so other classes can grab it, without needing to extend from this class. Unless you're making a plugin within a plugin, there shouldn't be a case for considering the main plugin class to be extendable.