Detect if a widget is used in the PB
-
Hello,
Is there a way to determine if a widget is used in the Page Builder?
Something like is_widget_active_in_PB()
I built a widget in a plugin and I would like to load the widget’s css/js files only if the widget is used by the PB.
Thx.
- The topic ‘Detect if a widget is used in the PB’ is closed to new replies.