function __construct() { $this->_version = KWS_GF_Salesforce::version; add_action('kwsgfwebtoleadaddon_log_debug', array($this, 'log_debug')); add_action('kwsgfwebtoleadaddon_log_error', array($this, 'log_error')); parent::__construct(); }
function __construct() { $this->_version = KWS_GF_Salesforce::version; parent::__construct(); $this->token = $this->get_plugin_setting('daddy_analytics_token'); $this->url = $this->get_plugin_setting('daddy_analytics_webtolead_url_id'); $this->token_api_name = $this->get_plugin_setting('daddy_analytics_token_api_name'); $this->url_api_name = $this->get_plugin_setting('daddy_analytics_webtolead_url_api_name'); $this->site_id = $this->get_plugin_setting('daddy_analytics_site_id'); $this->initialize(); }