Actions on Activation & Deactivation

 

Plugins register activation and deactivation hooks. By default, the XXX_Plugin class functions activate() and deactivate are registered respectively. (This is set up in the XXX_main.php file)

To add code to the hooks, override these functions in your XXX_Plugin.php file and add your code

1
2
3
4
5
    public function activate() {
    }
 
    public function deactivate() {
    }

Leave a Reply to Anonymous Cancel reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>