Conditions | 3 |
Paths | 4 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function __construct($name = '', array $widget_options = array(), array $control_options = array()) |
||
27 | { |
||
28 | $id_base = EspressoWidget::getIdBase(get_class($this)); |
||
29 | $control_options['id_base'] = $id_base; |
||
30 | $control_options['height'] = isset($control_options['height']) ? $control_options['height'] : 300; |
||
31 | $control_options['width'] = isset($control_options['width']) ? $control_options['width'] : 350; |
||
32 | // Register widget with WordPress |
||
33 | parent::__construct($id_base, $name, $widget_options, $control_options); |
||
34 | } |
||
35 | |||
50 | // Location: EventEspresso\widgets/EspressoWidget.php |