Jelajahi Sumber

add servicecode

andre 3 tahun lalu
induk
melakukan
fbae1a676b
1 mengubah file dengan 18 tambahan dan 0 penghapusan
  1. 18 0
      servicecode.php

+ 18 - 0
servicecode.php

@@ -0,0 +1,18 @@
+<?php
+
+// this hook returns $addon->subscriptionid as $addon.code in smarty
+
+if (!defined("WHMCS"))
+    die("This file cannot be accessed directly");
+
+add_hook('ClientAreaProductDetailsPreModuleTemplate', 1, function($vars) {
+
+    logModuleCall(
+        'ClientAreaProductDetailsPreModuleTemplate',
+        __FUNCTION__,
+        $vars,
+        'debug',
+        ''
+    );
+
+});