Used By
Used By | Description |
---|---|
wp-includes/widgets.php: dynamic_sidebar() | Display dynamic sidebar. |
Filters whether a sidebar has widgets.
Note: The filter is also evaluated for empty sidebars, and on both the front end and back end, including the Inactive Widgets sidebar on the Widgets screen.
(bool) Whether at least one widget was rendered in the sidebar. Default false.
(int|string) Index, name, or ID of the dynamic sidebar.
File: wp-includes/widgets.php
Version | Description |
---|---|
3.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/dynamic_sidebar_has_widgets