is there any way I can get the widget instance ID from inside the widget class?
I tried $id, but it outputs the widget container id (eg. "sidebar-1")
is there any way I can get the widget instance ID from inside the widget class?
I tried $id, but it outputs the widget container id (eg. "sidebar-1")
found it.
$args['widget_id']
This seriously came in handy for "AJAX-ifying" my widget without breaking it's ability to have multiple instances! Thanks!
This topic has been closed to new replies.