<?php
/**
 * Theme Info Page
 *
 * @package Holy Word
 */

function holy_word_theme_details() {
	add_theme_page( 'Themes', 'Holy Word Theme', 'edit_theme_options', 'holy-word-theme-info-page', 'theme_details_display', null );
}
add_action( 'admin_menu', 'holy_word_theme_details' );

function theme_details_display() {

	include_once 'templates/theme-details.php';

}

add_action( 'admin_enqueue_scripts', 'holy_word_theme_details_style' );

function holy_word_theme_details_style() {
    wp_register_style( 'holy_word_theme_details_css', get_template_directory_uri() . '/inc/holy-word-theme-info-page/css/theme-details.css', false, '1.0.0' );
    wp_enqueue_style( 'holy_word_theme_details_css' );
}