ajax php and get_options
-
Hey there. I was just about to do something when I realized it didn’t make any sense. So I figure I would ask before wasting 4 hours trying to do something that is impossible.
I’m writing a plugin in tinyMCE. I wanted it you get some data that the was stored in the wordpress data layer by a wordpress plugin using add_option(). I just realized that get_option() is not going to work in a php file that is called from the javascript plugin. How can I get to the stored wordpress plugin data with a javascript plugin since I don’t think there is a way to call get_option().
I really wonder if this makes any sense. And if there is a way to call get_option from a php file outside of plugin scope. That would be awesome too.
- The topic ‘ajax php and get_options’ is closed to new replies.