wp_map_sidebars_widgets
wp_map_sidebars_widgets ( $existing_sidebars_widgets )
Parameters:- (array) existing_sidebars_widgets List of sidebars and their widget instance IDs.
Returns:- (array) Mapped sidebars widgets.
Defined at:Change Log: - Introduced in WordPress: 4.9.0
- Deprecated in WordPress: —
Description
Compares a list of sidebars with their widgets against an allowed list.