\TriTan\Interfaces\PluginPluginRegisterActivationHookInterface

Summary

Methods
Constants
activation()
deactivation()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

activation()

activation(string  $filename, string  $function) 

Register Activation Hook

This method is used to run code that should be executed when a plugin is being activated.

Parameters

string $filename

Plugin's file name.

string $function

The function which should be executed.

deactivation()

deactivation(string  $filename, string  $function) 

Register Deactivation Hook

This method is used to run code that should be executed when a plugin is being deactivated.

Parameters

string $filename

Plugin's file name.

string $function

The function which should be executed.