Retrieves the registered sidebar with the given id.
Parameters
$id
string|intrequired- ID of the sidebar.
Source
protected function get_sidebar( $id ) {
return wp_get_sidebar( $id );
}
Changelog
Version | Description |
---|---|
5.8.0 | Introduced. |
Retrieves the registered sidebar with the given id.
$id
string|intrequiredprotected function get_sidebar( $id ) {
return wp_get_sidebar( $id );
}
Version | Description |
---|---|
5.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.