Get the sidebar ID in which the current widget was dropped April 22, 2022 by Tarik Billa See this thread: Limit widget to certain sidebar?