For activation hooks codex states that you have to be explicit on globals:
But that seems not to be working on uninstall.php
If i define a global in my main plugin file like this:
global $plugin_options_name; $plugin_options_name = 'xxxxxxxxx';
Activation hook can use it via global statement , whereas uninstall.php cannot.
I have to redeclare the variable inside unistall.php
If this is the case, if i switch to uninstallation hook this will change?