Support » Plugins and Hacks » Load a plugins options during an AJAX callback

  • Hi,

    I’m developing my first WordPress widget and it’s looking really good so far but I’ve run into a problem that I can’t find the answer to. I have a few simple options set in the widget config which I can acces in my WP_Widget subclass using the $instance variable inside the widget class function but I have now registers an AJAX callback handler function using wp_ajax_nopriv and I need to access some of the widgets options to be able to give correct feedback to the AJAX request.

    How can I access the widget options from the callback function?


Viewing 1 replies (of 1 total)
  • Anybody? Still haven’t found out how to load the widget options but I must be missing something obvious?

Viewing 1 replies (of 1 total)
  • The topic ‘Load a plugins options during an AJAX callback’ is closed to new replies.