File: /home/alfoxtfy/www/wp-content/themes/the-hanger/functions.php
<?php
/**
* Functions and definitions
*
* @package WordPress
* @subpackage the-hanger
* @since 1.0.0
*/
// Vendors.
require_once get_template_directory() . '/inc/_vendor/kirki/kirki.php';
// Helpers.
require_once get_template_directory() . '/functions/helpers.php';
// Body Classes.
require_once get_template_directory() . '/functions/body-classes.php';
// Menus.
require_once get_template_directory() . '/inc/menus/menus.php';
// Theme Setup.
require_once get_template_directory() . '/functions/menu-walkers.php';
require_once get_template_directory() . '/functions/mega-menu.php';
require_once get_template_directory() . '/functions/mega-dropdown.php';
require_once get_template_directory() . '/functions/theme-setup.php';
require_once get_template_directory() . '/functions/ajax-search.php';
// Enqueue Styles & Scripts.
require_once get_template_directory() . '/functions/enqueue/default-fonts.php';
require_once get_template_directory() . '/functions/enqueue/google-fonts.php';
require_once get_template_directory() . '/functions/enqueue/theme-icon-fonts.php';
require_once get_template_directory() . '/functions/enqueue/styles.php';
require_once get_template_directory() . '/functions/enqueue/scripts.php';
require_once get_template_directory() . '/functions/enqueue/admin-styles.php';
require_once get_template_directory() . '/functions/enqueue/admin-scripts.php';
// Customiser.
require_once get_template_directory() . '/inc/customizer/read_options.php';
require_once get_template_directory() . '/inc/customizer/backend.php';
require_once get_template_directory() . '/inc/customizer/frontend.php';
// WP.
require_once get_template_directory() . '/functions/wp/filters.php';
require_once get_template_directory() . '/functions/wp/archive-title.php';
require_once get_template_directory() . '/functions/wp/archive-meta.php';
require_once get_template_directory() . '/functions/wp/popular-posts.php';
require_once get_template_directory() . '/functions/wp/related-posts.php';
// WC.
require_once get_template_directory() . '/functions/wc/actions.php';
require_once get_template_directory() . '/functions/wc/filters.php';
require_once get_template_directory() . '/functions/wc/custom.php';
// Widgets.
require_once get_template_directory() . '/inc/widgets/widget-areas.php';
// Meta Boxes.
require_once get_template_directory() . '/inc/metaboxes/page.php';
require_once get_template_directory() . '/inc/metaboxes/product.php';
// Admin.
if ( is_admin() || ( defined('WP_CLI') && WP_CLI ) ) {
require_once get_template_directory() . '/functions/admin-setup.php';
include_once get_template_directory() . '/dashboard/index.php';
}