# before_accountpackagechange

Account/service is about to have package changed (module ChangePackage function execution). Throw exception in your hook to block package change for some reason

# Hook parameter

An array is passed to hook containing following keys/values:

Key Type Description
account_id int Account ID
account array Account details from hb_accounts table
forms array Forms related to account
product_id int New product ID

# Sample hook files

Last Updated: 3/17/2023, 8:40:19 AM