<?php
/**
 * Eisai engine.
 */

/**
 * Assign the Eisai version to a variable.
 */
$eisai_theme   = wp_get_theme( 'eisai' );
$eisai_version = $eisai_theme[ 'Version' ];

/**
 * Setup theme object.
 */
$eisai = (object) array(
	'version' => $eisai_version,

	/**
	 * Initialize all the things.
	 */
	'main' => require 'inc/class-eisai.php',
	'customizer' => require 'inc/customizer/class-eisai-customizer.php',
);

/**
 * Load theme walker classes.
 */
require 'inc/walkers/class-eisai-walker-primary-navigation.php';
require 'inc/walkers/class-eisai-walker-navbar-navigation.php';
require 'inc/walkers/class-eisai-walker-comment.php';

/**
 * Load theme hooks and functions.
 */
require 'inc/eisai-functions.php';
require 'inc/eisai-template-tags.php';
require 'inc/eisai-template-hooks.php';
require 'inc/eisai-template-functions.php';
