WP_Widget_Form_Customize_Control::active_callback(): bool

In this article

Whether the current widget is rendered on the page.

Return

bool Whether the widget is rendered.

Source

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

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

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