settings = get_option( 'alive5_settings' ); } public function add_chatscript(){ if(isset($this->settings['enable_chatbot']) && !empty($this->settings['widget_id'])){ ?>