title: WHMCS Action Hooks Not Firing
body: <p>I have been pounding my head against the desk for a week now and have finally decided it's time to ask for help.</p>
  
  <p>I am trying to create action hooks for WHMCS for when a client performs a certain action. For example, i'm just trying to get it to return the variables it grabs. Essentially all I need is the USER ID, but for testing purposes I asked it to return several variables.</p>
  
  <p>Below is an example of my code:</p>
  
  <pre><code>/*
   * Define Hook Functions 
  */
  function hook_changedpassword($vars) {
      $userid = $vars['userid'];
      $firstname = $vars['firstname'];
      $lastname = $vars['lastname'];
      $email = $vars['email'];
      $password = $vars['password'];
  
      return print_r($vars);
  }
  
  function hook_clientmerged($vars) {
      $userid = $vars['userid'];
      $firstname = $vars['firstname'];
      $lastname = $vars['lastname'];
      $email = $vars['email'];
      $password = $vars['password'];
  
      return print_r($vars);  
  }
  
  function hook_clientupdated($vars) {
      $userid = $vars['userid'];
      $firstname = $vars['firstname'];
      $lastname = $vars['lastname'];
      $email = $vars['email'];
      $password = $vars['password'];
  
      return print_r($vars);  
  }
  
  function hook_emailverification($vars) {
      $userid = $vars['userid'];
      $firstname = $vars['firstname'];
      $lastname = $vars['lastname'];
      $email = $vars['email'];
      $password = $vars['password'];
  
      return print_r($vars);  
  }
  
  /*
   * Start Add Hook Functions 
  */
  
  // when client changes portal password
  add_hook('ClientChangePassword', 1, "hook_changedpassword");
  
  // when client accounts are merged.
  add_hook('AfterClientMerge', 1, "hook_clientmerged");
  
  // when client updates client details
  add_hook('AfterClientMerge', 1, "hook_clientupdated");
  
  // when client verifies email address
  add_hook('ClientEmailVerificationComplete', 1, "hook_emailverification");
  </code></pre>
  
  <p>It's not associated with any module or addon, and I don't know if that's the problem, but the Hooks Wiki makes it appear that regardless, these will be processed when these actions are taken.</p>
  
  <p>Any help would be greatly appreciated.</p>