A quick note on how to do it, and a note on running the JS, so that it doesn't get ran on the html used to create new widget forms, only those in the sidebars on the right

For the frontend

How to enqueue a widgets scripts and styles, but only if the widget is on the page


Running code when:

A new widget is added

The widget form opens

Widgets are re-ordered

results matching ""

    No results matching ""