Esempio n. 1
0
 public function __construct()
 {
     // add hook to convert shortcode to html.
     $this->name = str_replace('pgl_shortcode_', '', strtolower(__CLASS__));
     $this->key = 'pgl_' . $this->name;
     parent::__construct();
 }
Esempio n. 2
0
 public function __construct()
 {
     $this->name = str_replace('pgl_shortcode_', '', strtolower(__CLASS__));
     $this->key = 'pgl_' . $this->name;
     parent::__construct();
 }