Determines if a sidebar is rendered on the page.
Parameters
$sidebar_idstringrequired- Sidebar ID to check.
Source
public function is_sidebar_rendered( $sidebar_id ) { return ! empty( $this->rendered_sidebars[ $sidebar_id ] ); } Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.