Skip to content

Function Index

The following is an index of all prescribed supported functions for a registrar module.

Your registrar module should only define the functions that your module supports.

Remember, all functions should have the prefix yourmodulename_ and then the function name.

ParameterDescription
RegisterDomainCalled when the registration of a new domain is initiated within WHMCS.
TransferDomainCalled when a domain transfer request is initiated within WHMCS.
RenewDomainCalled when a request to renew a domain is initiated within WHMCS.
GetDomainInformationCalled when a domain is viewed within WHMCS. Recommended instead of GetNameservers and GetRegistrarLock in WHMCS 7.6 and later.
GetEmailForwardingCalled when Email Forwarding is displayed within WHMCS.
SaveEmailForwardingCalled when changes to Email Forwarding are submitted.
GetNameserversCalled when a domain is viewed within WHMCS. It can return up to 5 nameservers that are set for the domain.
SaveNameserversCalled when a change is submitted for a domains nameservers.
GetRegistrarLockCalled when a domains details are viewed within WHMCS. It should return the current lock status of a domain.
SaveRegistrarLockCalled when the lock status setting is toggled within WHMCS.
GetContactDetailsCalled when the WHOIS information is displayed within WHMCS.
SaveContactDetailsCalled when revised WHOIS information is submitted.
ResendIRTPVerificationEmailCalled when a request is made to resend the IRTP contact verification emails.
GetDNSCalled when the DNS Host Records are requested to be viewed within WHMCS.
SaveDNSCalled when any changes to DNS Host Records information is submitted.
IDProtectToggleCalled when the ID Protection setting is toggled on or off.
GetEPPCodeCalled when the EPP Code is requested for a transfer out.
ReleaseDomainCalled when a domain release is requested (eg. UK IPSTag Changes).
RegisterNameserverCalled when a child nameserver registration request comes from WHMCS.
ModifyNameserverCalled when a child nameserver modification request comes from WHMCS.
DeleteNameserverCalled when a child nameserver deletion request comes from WHMCS.
RequestDeleteCalled when a domain deletion request comes from WHMCS.
ClientAreaUsed to define module specific client area output. It accepts a return of HTML for display on the domain details page of the client area. Output via a template file within the module folder named "clientarea.tpl" is also possible. This function is discussed in more detail later on in the docs.
ClientAreaCustomButtonArrayUsed to define custom functions that the module supports. Customers can invoke and run these from the client area. The functions can perform actions or product page output in the client area. Example usages for this are to provide domain management pages, bandwidth reporting pages, etc...
ClientAreaAllowedFunctionsLike the above, used to define custom functions. These are functions that customers can invoke, but are not shown as buttons by default. (i.e. custom client area output will invoke them).
SyncCalled when a domain name's expiry date and status change at registry level is requested for propagation into WHMCS. (i.e by the Domain Synchronization feature).
TransferSyncCalled when the status of a domain transfer at registry level is requested for propagation into WHMCS. (i.e by the Domain Synchronization feature).
GetTldPricingCalled when the importation and synchronising of TLD pricing, into WHMCS, from a registrar is requested. (i.e by the Registrar TLD & Pricing Sync Utility).