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']
You must log in to post.