RefineIt\Support\Plugin\ModuleInterface
Synopsis
interface ModuleInterface
{
- // methods
- public void run_plugin()
- public void activation()
- public void deactivation()
- public void register_scripts()
- public void register_styles()
Methods
public
- activation() — Must implement behavior on plugin activation.
- deactivation() — Must implement behavior on plugin deactivation.
- register_scripts() — Must register any possible module assets of group: scripts.
- register_styles() — Must register any possible module assets of group: styles.
- run_plugin() — Must initialize all components to provide functionality.