function form($instance) { parent::form($instance); $well = isset($instance['well']) ? $instance['well'] : false; ?> <p> <label for="<?php echo $this->get_field_id('well'); ?> "><?php echo __('Has Container', 'notebook'); ?> </label> <input type="checkbox" id="<?php echo $this->get_field_id('well'); ?> " name="<?php echo $this->get_field_name('well'); ?> " <?php checked($well); ?> /> </p> <?php }
function form($instance) { parent::form($instance); am4PluginsManager::get('widgets')->showWidgetProtectionBlock($this, $instance); }