<?php
/**
 * Plugin Name: DreamIT Elementor Extension
 * Description: Custom Elementor extension.
 * Plugin URI:  https://elementor.com/
 * Version:     1.0.0
 * Author:      DreamIT
 * Author URI:  https://elementor.com/
 * Text Domain: dreamit-elementor-extension
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// Require once the Composer Autoload
if(file_exists(dirname(__FILE__).'/vendor/autoload.php')){
	require_once dirname(__FILE__).'/vendor/autoload.php';
}

define( 'DREAMIT_DIR_PATH', plugin_dir_path( __FILE__ ) );

require DREAMIT_DIR_PATH . 'base.php';

require DREAMIT_DIR_PATH . 'inc/icons.php';
require DREAMIT_DIR_PATH . 'inc/demo-data/demo-import.php';

/* Include Theme Widgets */

require DREAMIT_DIR_PATH . 'inc/theme-widgets/em_about.php';
require DREAMIT_DIR_PATH . 'inc/theme-widgets/em_recent_post.php';

/* Post Type */

require DREAMIT_DIR_PATH . 'inc/post-type.php';
