dynamic_sidebar_before – action

Fires before widgets are rendered in a dynamic sidebar. Note: The action also fires 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 ) . .
$index
( int|string ) Index, name, or ID of the dynamic sidebar. . . .
( bool ) $has_widgets Whether the sidebar is populated with widgets. Default true. . . .
API Letters: ,,

Implementers