List widget areas
wp_list_sidebarsList the widget areas your active theme registers, including widget counts and inactive widgets, to find where widgets can be placed before managing their settings.
Instructions
List the widget areas (sidebars) the active theme registers: [{id, name, description, widget_count}], followed by an entry wp_inactive_widgets for widgets placed in no area. A theme that registers no widget areas, as most block themes, yields only that entry. Needs edit_theme_options. Read-only; takes no arguments. The widgets in an area and their settings come from wp_get_widgets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||