Tagged Questions
0
votes
1answer
83 views
Why does Wordpress stores widget options in a multidimensional array?
I have a widget with 6 different options. When I use get_option, it gives me a multidimensional array, with all my options inside the inner array, like so:
$options = get_option('widget_widgetname');
...
0
votes
1answer
46 views
Passing widget options to external script
I am trying to pass some widget options to an external script using wp_localize_script. I know how to pass the variables and how to use them within the script, but how do I extract the widget options ...