<?php

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

/**
 * Class DateBook_Widgets
 *
 * @class DateBook_Widgets
 * @package DateBook/Classes/Widgets
 * @author Pagick Themes
 */
class DateBook_Widgets {


	/**
	 * Initialize widgets
	 *
	 * @access public
	 * @return void
	 */
	public static function init() {

		self::datebook_includes();

	}


	/**
	 * Include widget classes
	 *
	 * @access public
	 * @return void
	 */
	public static function datebook_includes() {
		
		require DATEBOOK_DIR . 'includes/widgets/widget-classifieds.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-comments.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-login-register.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-featured-profile.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-latest-profiles-images.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-latest-profiles.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-related-profiles-by-city.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-related-profiles-by-country.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-tours.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-blogs.php';
		require DATEBOOK_DIR . 'includes/widgets/widget-blog-categories.php';

		// Add widgets for Elemntor Page Builder
		//require DATEBOOK_DIR . 'includes/widgets/elementor/widgets.php';

	}

}

DateBook_Widgets::init();