WPDev.one
Core Function
View Source on Trac ↗

dynamic_sidebar()

dynamic_sidebar( mixed $index = 1 )

Displays dynamic sidebar.

Parameters 1 required

Name / Type Description
(int

| string) $index Optional. Index, name or ID of dynamic sidebar. Default 1.

Required

Return Value

(bool)
True, if widget sidebar was found and called. False if not found or not called.

Function Information

Since Version
2.2.0
Source File
wp-includes/widgets.php
Advertisement