W3cubDocs

/WordPress

WP_Widget_Area_Customize_Control::active_callback()

Whether the current sidebar is rendered on the page.

Return

(bool) Whether sidebar is rendered.

Source

File: wp-includes/class-wp-customize-control.php

Changelog

Version Description
4.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_widget_area_customize_control/active_callback