From a813d1bf2554bf7951e63bae5a2da50695d3312e Mon Sep 17 00:00:00 2001 From: skycel Date: Thu, 6 Feb 2025 05:41:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20-=20Met=20=C3=A0=20jour=20les=20?= =?UTF-8?q?inclusions=20pour=20utiliser=20`src/CustomThemeTree.php`=20et?= =?UTF-8?q?=20ajoute=20un=20commentaire=20explicatif.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom-theme-tree.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/custom-theme-tree.php b/custom-theme-tree.php index 60c7683..a270d0c 100644 --- a/custom-theme-tree.php +++ b/custom-theme-tree.php @@ -7,10 +7,14 @@ * Author URI: https://skycel.me */ +/** + * This file is required for Wordpress plugin system + * If you use composer, you're not concerned + */ + use Skycel\CustomTree\CustomThemeTree; -require_once __DIR__ . "/includes/custom-template.inc.php"; -require_once __DIR__ . "/includes/functions.inc.php"; +require_once __DIR__ . '/src/CustomThemeTree.php'; /** * Loads the custom tree plugin if enabled and properly configured.