<?php

namespace YSWS\Core;

// core
include_once __DIR__ . '/core/cache.php';
include_once __DIR__ . '/core/class-analytics.php';
include_once __DIR__ . '/custom/functions.php';
include_once __DIR__ . '/custom/hooks.php';
include_once __DIR__ . '/custom/rest.php';
include_once __DIR__ . '/custom/scripts.php';
include_once __DIR__ . '/custom/inline-styles-functions.php';
include_once __DIR__ . '/custom/class-ysm-search.php';
include_once __DIR__ . '/custom/class-ysm-db.php';
include_once __DIR__ . '/custom/class-ysm-widget-manager.php';
include_once __DIR__ . '/custom/class-ysm-search-widget.php';
include_once __DIR__ . '/custom/class-ysm-style-generator.php';
include_once __DIR__ . '/core/class-nav-menu.php';
\Ysm_Widget_Manager::init();
\Ysm_Search::init();
\YSWS\Core\Nav_Menu::init();
include_once __DIR__ . '/core/db-index.php';
include_once __DIR__ . '/core/db-index-query.php';
// compatibility with other plugins
include_once __DIR__ . '/compat/compat-visual-composer.php';
include_once __DIR__ . '/compat/compat-elementor.php';
include_once __DIR__ . '/compat/compat-gutenberg.php';
// elements
include_once __DIR__ . '/elements/view-all-button.php';
include_once __DIR__ . '/elements/title.php';
include_once __DIR__ . '/elements/category.php';
include_once __DIR__ . '/elements/excerpt.php';
include_once __DIR__ . '/elements/thumbnail.php';
include_once __DIR__ . '/elements/product-price.php';
include_once __DIR__ . '/elements/product-sku.php';
include_once __DIR__ . '/elements/rating.php';
// admin hooks
include_once __DIR__ . '/admin/admin.php';