WP_Widget_Form_Customize_Control::active_callback()

Whether the current widget is rendered on the page.


Return Return

(bool) Whether the widget is rendered.


Top ↑

Source Source

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

	public function active_callback() {
		return $this->manager->widgets->is_widget_rendered( $this->widget_id );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.