servicecode.php 376 B

123456789101112131415161718
  1. <?php
  2. // this hook returns $addon->subscriptionid as $addon.code in smarty
  3. if (!defined("WHMCS"))
  4. die("This file cannot be accessed directly");
  5. add_hook('ClientAreaProductDetailsPreModuleTemplate', 1, function($vars) {
  6. logModuleCall(
  7. 'ClientAreaProductDetailsPreModuleTemplate',
  8. __FUNCTION__,
  9. $vars,
  10. 'debug',
  11. ''
  12. );
  13. });