WithoutNamespace
2 weeks ago
AbstractPlugin.php
2 weeks ago
Activateable.php
2 weeks ago
ActivationAware.php
2 weeks ago
ActivationTracker.php
2 weeks ago
Conditional.php
2 weeks ago
Deactivateable.php
2 weeks ago
Hookable.php
2 weeks ago
HookableCollection.php
2 weeks ago
HookableParent.php
2 weeks ago
HookablePluginDependant.php
2 weeks ago
PluginAccess.php
2 weeks ago
SlimPlugin.php
2 weeks ago
TemplateLoad.php
2 weeks ago
ActivationAware.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | namespace FSVendor\WPDesk\PluginBuilder\Plugin; |
| 4 | |
| 5 | /** |
| 6 | * It means that this class is should know about SUBSCRIPTION activation |
| 7 | * |
| 8 | * @package WPDesk\PluginBuilder\Plugin |
| 9 | */ |
| 10 | interface ActivationAware |
| 11 | { |
| 12 | /** |
| 13 | * Set the activation flag to true |
| 14 | * |
| 15 | * @return void |
| 16 | */ |
| 17 | public function set_active(); |
| 18 | /** |
| 19 | * Is subscription active? |
| 20 | * |
| 21 | * @return bool |
| 22 | */ |
| 23 | public function is_active(); |
| 24 | } |
| 25 |