\TriTan\Common\PluginPluginRegisterActivationHook

Summary

Methods
Properties
Constants
__construct()
activation()
deactivation()
$hook
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$hook

$hook : 

Type

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.