<?php
/**
 * Eryndo Theme Functions
 *
 * This file contains the core functionality of the Eryndo theme.
 * It initializes the theme, loads required files, and sets up basic configurations.
 * The functions.php file serves as the entry point for the theme's PHP functionality.
 *
 * @package WordPress
 * @subpackage Eryndo
 * @since 1.0.0
 */

// Exit if accessed directly
if (! defined('ABSPATH')) {
    exit;
}

/**
 * Load theme core functionality
 * 
 * The class-loader.php file contains the main theme class and autoloader.
 * This file initializes the theme's core functionality and sets up hooks.
 */
require_once get_template_directory() . '/includes/class-loader.php';

/**
 * Initialize the theme
 * 
 * Creates a singleton instance of the main theme class.
 * This ensures the theme is properly initialized with all required functionality.
 */
if (class_exists('Eryndo_Theme')) {
    Eryndo_Theme::get_instance();
}



