# after_clientedit
Client details have been updated in the database
# Hook parameter
An array
is passed to hook containing following keys/values:
Key | Type | Description |
---|---|---|
previous | array | Previous client data |
new | array | New client data |
Each of arrays has following structure (note: if you have custom registration fields they may differ):
Key | Type | Description |
---|---|---|
id | int | 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 |