From df60be423ab1daf3ab558c9d452dbe68c1a184b1 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 15 Sep 2023 13:50:19 +0000 Subject: redbasic: add functions for reference --- view/theme/redbasic/php/config.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'view/theme/redbasic/php') diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index b4cb281b9..344f3ff68 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -129,7 +129,15 @@ class RedbasicConfig { } +function redbasic_theme_admin_enable() { + // This function is called once when the theme is being enabled by the admin + // It can be used to register hooks etc. +} +function redbasic_theme_admin_disable() { + // This function is called once when the theme is being disabled by the admin + // It can be used to unregister hooks etc. +} -- cgit v1.2.3