Used By
| Used By | Description |
|---|---|
| wp-includes/general-template.php: get_sidebar() | Load sidebar template. |
Fires before the sidebar template file is loaded.
(string|null) Name of the specific sidebar file to use. Null for the default sidebar.
(array) Additional arguments passed to the sidebar template.
| Version | Description |
|---|---|
| 5.5.0 | The $args parameter was added. |
| 2.8.0 | The $name parameter was added. |
| 2.2.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_sidebar