__CLASS__, 'description' => $this->get_description(), ); $l_arr_control_options = array( 'id_base' => strtolower( $this->get_id() ), 'width' => $this->get_widget_width(), ); // Registers the Widget. parent::__construct( strtolower( $this->get_id() ), // Unique ID for the widget, has to be lowercase. $this->get_name(), // Plugin name to be displayed. $l_arr_widget_options, // Optional Widget Options. $l_arr_control_options // Optional Widget Control Options. ); } }