public function HW_WPCF7()
 {
     //setup actions
     $this->setup_actions();
     $this->template = HW_WPCF7_Template::getInstance();
     //form template manager
     //init skin
     if (class_exists('HW_SKIN')) {
         $this->skin = new HW_SKIN($this, HW_WPCF7_PATH, 'hw_wpcf7_skins', 'hw-wpcf7-skin.php', 'themes');
         //$this->skin->skin_name='hw-wpcf7-skin.php';
         //$this->skin->skin_folder='hw_wpcf7_skins';	//folder hold all skins
         $this->skin->plugin_url = HW_WPCF7_URL;
         $this->skin->enable_external_callback = false;
         $this->skin->enable_template_engine(false, true);
     }
     self::$form_templates = array('basic-contact-form' => __('Form liên hệ'), 'order-form' => __('Form đặt hàng'));
     if (is_admin()) {
         //initialize something
         //$hwcf_settings = AdminPageFramework::getOption( 'HW_Wpcf_settings','general');
         $enable_wpcf7_js = hw_wpcf7_option('enable_wpcf7_js');
         if (!$enable_wpcf7_js) {
             remove_action('init', 'wpcf7_enqueue_scripts');
             //remove wpcf7 script
         }
     }
     //avaiable storages service
     $this->external_storages_hook = array('' => __('Lưu mặc định'), 'url' => __('URL'), 'google_form' => __('Google Form'));
     self::$special_gfields = array('sendEmail' => 'Làm nội dung để gửi mail từ google spreadsheet', 'admin_email' => 'Địa chỉ email của admin', 'website' => 'Đến từ địa chỉ website nào.');
     //config localize object for this contact form
     $this->hwcf7_localize_obj['ajax_url'] = admin_url('admin-ajax.php');
     $this->hwcf7_localize_obj['storages_hook'] = $this->external_storages_hook;
 }
 /**
  * create & return this class instance
  * @return HW_WPCF7_Template
  */
 public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }