From 63edb760aca80d4783d58667c38ee00e22022028 Mon Sep 17 00:00:00 2001 From: solstice23 Date: Sun, 10 Oct 2021 16:34:07 +0800 Subject: [PATCH] add AHCDN & close #284 --- functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions.php b/functions.php index 68a839c0..17f5b20e 100644 --- a/functions.php +++ b/functions.php @@ -15,6 +15,8 @@ function theme_slug_setup() { $GLOBALS['assets_path'] = "https://cdn.jsdelivr.net/gh/solstice23/argon-theme@" . wp_get_theme() -> Version; }else if ($argon_assets_path == "fastgit"){ $GLOBALS['assets_path'] = "https://raw.fastgit.org/solstice23/argon-theme/v" . wp_get_theme() -> Version; +}else if ($argon_assets_path == "AHCDN"){ + $GLOBALS['assets_path'] = "https://source.ahdark.com/wordpress/theme/argon-theme/" . wp_get_theme() -> Version; }else{ $GLOBALS['assets_path'] = get_bloginfo('template_url'); } @@ -2903,6 +2905,7 @@ function themeoptions_page(){ +