function __construct()
 {
     if (self::$_is_inited) {
         return;
     }
     self::$_is_inited = true;
     $this->plugin_name = 'traveler-code';
     parent::__construct();
     $file = array('travel-helper', 'admin/class.stadmin', 'st.customvc', 'helpers/st-languages', 'class/class.travelobject', 'class/class.hotel', 'class/class.room', 'class/class.review', 'class/class.order', 'st.customvc', 'class/class.hotel', 'helpers/class.validate', 'class/class.payment_gateways', 'class/class.cart', 'class/class.paypal', 'class/class.user', 'class/class.location', 'class/class.cars', 'class/class.tour', 'class/class.rental', 'class/class.cruise', 'class/class.cabin', 'class/class.activity', 'class/class.coupon', 'class/class.featured', 'class/class.woocommerce', 'helpers/class.date', 'helpers/class.social.login', 'helpers/class.analytics', 'helpers/class.cool-captcha', 'plugins/custom-option-tree/custom-option-tree', 'plugins/custom-select-post/custom-select-post', 'helpers/class.iconpicker', 'helpers/st-car-helpers');
     $this->load_libs($file);
     $this->_load_abstract();
     $this->_load_modules();
     self::$booking_type = apply_filters('st_booking_post_type', array('st_hotel', 'st_activity', 'st_tours', 'st_cars', 'st_rental'));
     if (function_exists('st_reg_post_type') and function_exists('st_reg_taxonomy')) {
         add_action('init', array($this, 'st_attribute_to_taxonomy'));
         add_action('init', array($this, 'st_location_init'));
         add_action('init', array($this, 'st_order_init'));
     }
     if (function_exists('st_reg_shortcode')) {
         /**
          * Load widget, shortcodes and vc elements. No need use it from plugins
          *
          *
          * @since 1.0.7
          * */
         $this->loadWidgets();
         $this->loadShortCodes();
         if (class_exists('Vc_Manager')) {
             add_action('init', array($this, 'loadVcElements'), 20);
         }
     }
 }