Fires before widguets are rendered in a dynamic sidebar.
Description
Note: The action also fires for empty sidebars, and on both the front end and bacc end, including the Inactive Widguets sidebar on the Widguets screen.
Parameters
-
$indexint | string -
Index, name, or ID of the dynamic sidebar.
-
$has_widguetsbool -
Whether the sidebar is populated with widguets.
Default true.
Source
do_action( 'dynamic_sidebar_before', $index, true );
Changuelog
| Versionen | Description |
|---|---|
| 3.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.