Hooks:Contacts

Home / Support / Documentation
From WHMCS Documentation
Jump to: navigation, search

Contents

Contact Hooks

ContactAdd

This hook is called when adding a contact through the the Client Area, Admin Area or API

Variables

  • userid
  • contactid
  • firstname
  • lastname
  • companyname
  • email
  • address1
  • address2
  • city
  • state
  • postcode
  • country
  • phonenumber
  • subaccount
  • permissions
  • domainemails
  • generalemails
  • invoiceemails
  • productemails
  • supportemails

ContactEdit

This hook is called when adding a contact through the the Client Area or Admin Area

Variables

  • userid
  • contactid
  • firstname
  • lastname
  • companyname
  • email
  • address1
  • address2
  • city
  • state
  • postcode
  • country
  • phonenumber
  • subaccount
  • permissions
  • domainemails
  • generalemails
  • invoiceemails
  • productemails
  • supportemails

ContactDelete

This hook is called when deleting a contact through the the Client Area, Admin Area

Variables

  • userid
  • contactid