do_action( 'get_sidebar', string|null $name )
Fires before the sidebar template file is loaded.
Description Description
Parameters Parameters
- $name
-
(string|null) Name of the specific sidebar file to use. null for the default sidebar.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.8.0 | $name parameter added. |
2.2.0 | Introduced. |