Is there a way to get only the sidebars used on a particular page?
Using:
global $wp_registered_sidebars;
$widget_map = wp_get_sidebars_widgets();
Can get me all of the sidebars, but I’m interested in getting the sidebars only for a particular page. Something sounding like get_sidebars_by_page_id()