WP_Customize_Sidebar_Section::active_callback()
Whether the current sidebar is rendered on the page.
Description Description
Return Return
(bool) Whether sidebar is rendered.
Source Source
File: wp-includes/customize/class-wp-customize-sidebar-section.php
public function active_callback() { return $this->manager->widgets->is_sidebar_rendered( $this->sidebar_id ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |