<?php
/**
 * Bootstrap Basic theme help page.
 * 
 * @package bootstrap-basic
 */


if (!class_exists('BootstrapBasicAdminHelp')) {
    /**
     * Bootstrap Basic admin help page class.
     */
    class BootstrapBasicAdminHelp
    {


        /**
         * Add help menu to admin sidebar and add help page.
         */
        public function themeHelpMenu()
        {
            add_theme_page(__('Bootstrap Basic help', 'bootstrap-basic'), __('Bootstrap Basic help', 'bootstrap-basic'), 'edit_posts', 'theme_help', array($this, 'themeHelpPage'));
        }// themeHelpMenu


        /**
         * Display theme help page.
         */
        public function themeHelpPage()
        {
            // display page content to view file.
            include get_template_directory() . '/inc/views/BootstrapBasicAdminHelp_v.php';
        }// themeHelpPage


    }// BootstrapBasicAdminHelp
}
