WPDev.one
Core Function
View Source on Trac ↗

wp_get_sidebars_widgets()

wp_get_sidebars_widgets( mixed $deprecated = true )

Retrieves the full list of sidebars and their widget instance IDs.

Parameters 0 required

Name / Type Description
$deprecated
bool

Not used (argument deprecated).

Return Value

(array)
Upgraded list of widgets to version 3 array format when called from the admin.

Function Information

Since Version
2.2.0
Source File
wp-includes/widgets.php
Advertisement