_install, activate, _uninstall etc
#1
Hi All,

So with the plugin I am currently writing, there aren't really any settings as such however it does create templates and database tables.

My assumption would be to

plugin_install() {
install tables
install tempate
}

plugin_uninstall() {
remove templates
remove tables
}


So now what would I end up doing with activate and deactivate in these circumstances as these actions are more used when removing the plugin, or is it better to have these in activate and deactivate?

[/code]
Reply


Messages In This Thread
_install, activate, _uninstall etc - by Dannymh - 2013-05-07, 02:44 AM
RE: _install, activate, _uninstall etc - by avril - 2013-05-07, 03:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)