Beispiel #1
0
 private function parseStart()
 {
     // if this is site page, and integrator options dosen't exsist
     if (!is_admin() && !get_option('tidio-elements-project-data')) {
         $this->parseMode = true;
     }
     if ($this->parseMode) {
         $this->projectPublicKey = get_option('tidio-visual-public-key');
         if ($this->projectPublicKey) {
             if (!class_exists('TidioElementsParser')) {
                 require 'classes/TidioElementsParser.php';
             }
             TidioElementsParser::start($this->projectPublicKey);
         }
     }
 }