[wp-hackers] get_option returns just fine in one file, returns null in another

Ryan Bilesky rbilesky at gmail.com
Tue Mar 1 01:44:00 UTC 2011


So this is what I have

$options = get_option('power_tickets');

If i var_dump $options in one file i get the array of options i expect to
see, in another file in my plugin a var_dump is returning null, any ideas I
have no clue what would cause this it makes no sense to me.  Any ideas
anyone because this has got me stumped.


More information about the wp-hackers mailing list