Possible Duplicate:
Programmatically add widgets to sidebars

i create front-site drag and drop layout manager. I need to change widget order, when user drag widget A over widget B, but how wordpress save widgets order?

I think, that i must get array of widgets, that's applying to current sidebar. How can i do this?

marked as duplicate by Rarst Oct 11 '12 at 18:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.