dynamic_sidebar_before
最后更新于:2021-11-26 09:00:20
do_action( ‘dynamic_sidebar_before’, int|string $index, bool $has_widgets )
Fires before widgets are rendered in a dynamic sidebar.
参数
- $index
-
(int|string)
Index, name, or ID of the dynamic sidebar. - $has_widgets
-
(bool)
Whether the sidebar is populated with widgets. Default true.
源文件
文件: gc-includes/widgets.php