Studio Hub does not embed arbitrary wp_add_dashboard_widget output in the layout editor.
Classic widgets target wp-admin/index.php. In Studio Hub they often break styling or scripts.
Instead:
- Register a YOOAdmin dashboard card
- Keep the classic widget for users on Dashboard → Home
The layout editor shows an informational notice when the legacy widget path is selected.
