What is the hook for validation on activation and download/upgrade plugin from wordpress ?
for activation, it is used register_activation_hook..Before activate it ( on the process of activating the plugin ) i will do some checking/validation..
If the verification return false, what is the hook for deactivate plugin ?
In order to deactivate the plugin, the hook is: register_deactivation_hook