dynamic_sidebar_has_widgets – filter
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.
Parameters
- .
- ( 3.9.0 ) . .
- ( bool ) $did_one Whether at least one widget was rendered in the sidebar. Default false. . . .
- $index
- ( int|string ) Index, name, or ID of the dynamic sidebar. . . .
Invokers
1 to 1 of 1