register_sidebar WordPress Action Hook
The register_sidebar hook is used to register sidebars in WordPress. Sidebars are areas of the page where you can display widgets. WordPress comes with a default sidebar, but you can also create custom sidebars.
do_action( 'register_sidebar', array $sidebar ) #
Fires once a sidebar has been registered.
Parameters
- $sidebar
(array)Parsed arguments for the registered sidebar.
Source
File: wp-includes/widgets.php
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |