# before_clientregister modifier
Client is about to register in HostBill
TIP
$details
is passed as reference (opens new window) so its possible to modify its value(s) in Advanced hook
# Hook parameter
An array
is holding provided signup/registration fields values
Key | Type | Description |
---|---|---|
id | int | New client ID |
type | string | Personal or Organization account |
companyname | string | Supplied company name |
firstname | string | Client first name |
lastname | string | Client last name |
password | string | Password |
password2 | string | Password 2 |
email | string | |
address1 | string | Address 1 |
address2 | string | Address 2 |
city | string | City |
state | string | State |
postcode | string | Postal code |
country | string | Country |
phonenumber | string | Phone number |