check if registered sidebar is active & has widget content

wp_get_sidebars_widgets(); will return a list of all sidebars & the widgets in each of them. This can allow you to check for sidebars with no widgets

Leave a Comment