<?php
/**
 * Theme Info Page
 *
 * @package Event Managerial Service
 */

function event_managerial_service_theme_details() {
	add_theme_page( 'Themes', 'Event Managerial Service Theme', 'edit_theme_options', 'event-managerial-service-theme-info-page', 'theme_details_display', null );
}
add_action( 'admin_menu', 'event_managerial_service_theme_details' );

function theme_details_display() {

	include_once 'templates/theme-details.php';

}

add_action( 'admin_enqueue_scripts', 'event_managerial_service_theme_details_style' );

function event_managerial_service_theme_details_style() {
    wp_register_style( 'event_managerial_service_theme_details_css', get_template_directory_uri() . '/inc/event-managerial-service-theme-info-page/css/theme-details.css', false, '1.0.0' );
    wp_enqueue_style( 'event_managerial_service_theme_details_css' );
}