From a9dc658a98801d128212ad4599622e3dffa4a7c3 Mon Sep 17 00:00:00 2001 From: Alexander Agnarson Date: Mon, 23 Mar 2020 19:25:39 +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 49291f5..5b2ba46 100644 --- a/functions.php +++ b/functions.php @@ -16,7 +16,7 @@ include( get_template_directory() . '/functions/kirki/kirki.php' ); // Load theme updater functions function split_theme_updater() { - require( get_template_directory() . '/updater/theme-updater.php' ); + require( get_template_directory() . '/functions/updater/theme-updater.php' ); } add_action( 'after_setup_theme', 'split_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