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_Widgetsubclass using the
$instancevariable inside the widget class function but I have now registers an AJAX callback handler function using
wp_ajax_noprivand 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?
- The topic ‘Load a plugins options during an AJAX callback’ is closed to new replies.