WP_Customize_Sidebar_Section::active_callback

Advertisement

Summery Summery

Whether the current sidebar is rendered on the page.

Syntax Syntax

WP_Customize_Sidebar_Section::active_callback()

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 );
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.1.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.