Whether the current sidebar is rendered on the page.
(bool) Whether sidebar is rendered.
File: wp-includes/customize/class-wp-customize-sidebar-section.php
public function active_callback() { return $this->manager->widgets->is_sidebar_rendered( $this->sidebar_id ); }
Version | Description |
---|---|
4.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_sidebar_section/active_callback