I want to have a wider scope for variables in my plugin, but for some reason it's not working. For instance: $variable = get_option('variabletest'); function dummy() { global $variable; echo $variable; } Neither of those work. Am I doing something wrong (I must be).