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
Activateable.php
21 lines
| 1 | <?php |
| 2 | |
| 3 | namespace FSVendor\WPDesk\PluginBuilder\Plugin; |
| 4 | |
| 5 | /** |
| 6 | * Tag the plugin with this ingterface to hook it to the WordPress activation hook. |
| 7 | * |
| 8 | * Note: works from plugin flow ^2.2. |
| 9 | * |
| 10 | * @package WPDesk\PluginBuilder\Plugin |
| 11 | */ |
| 12 | interface Activateable |
| 13 | { |
| 14 | /** |
| 15 | * Plugin activated in WordPress. Do not execute directly. |
| 16 | * |
| 17 | * @return void |
| 18 | */ |
| 19 | public function activate(); |
| 20 | } |
| 21 |