From 53841c831ed0a4d45a272aa95f5b1469e655f6d9 Mon Sep 17 00:00:00 2001 From: Alexander Agnarson Date: Mon, 23 Mar 2020 19:24:41 +0100 Subject: [PATCH] Move /updater/ folder to /functions/ folder and update functions.php --- functions.php | 2 +- {updater => functions/updater}/theme-updater-admin.php | 0 {updater => functions/updater}/theme-updater-class.php | 0 {updater => functions/updater}/theme-updater.php | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename {updater => functions/updater}/theme-updater-admin.php (100%) rename {updater => functions/updater}/theme-updater-class.php (100%) rename {updater => functions/updater}/theme-updater.php (100%) diff --git a/functions.php b/functions.php index 71d6ecc..72ad0e7 100644 --- a/functions.php +++ b/functions.php @@ -16,7 +16,7 @@ include( get_template_directory() . '/functions/kirki/kirki.php' ); // Load theme updater functions function featureon_theme_updater() { - require( get_template_directory() . '/updater/theme-updater.php' ); + require( get_template_directory() . '/functions/updater/theme-updater.php' ); } add_action( 'after_setup_theme', 'featureon_theme_updater' ); diff --git a/updater/theme-updater-admin.php b/functions/updater/theme-updater-admin.php similarity index 100% rename from updater/theme-updater-admin.php rename to functions/updater/theme-updater-admin.php diff --git a/updater/theme-updater-class.php b/functions/updater/theme-updater-class.php similarity index 100% rename from updater/theme-updater-class.php rename to functions/updater/theme-updater-class.php diff --git a/updater/theme-updater.php b/functions/updater/theme-updater.php similarity index 100% rename from updater/theme-updater.php rename to functions/updater/theme-updater.php