{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Client Area Output","description":"Developer documentation for the WHMCS API — the","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"client-area-output","__idx":0},"children":["Client Area Output"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Using this function, it is possible to output custom HTML in the Client Area when a client is managing a domain name."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Using the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["_ClientArea"]}," function, you can return output that will be shown in the Domain Overview when viewing a domain in the Client Area."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All the parameters available in other registrar module functions are available to you within this function."," ","Visit the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://developers.whmcs.com/domain-registrars/module-parameters/"},"children":["Module Parameters"]}," page for information on  the variables available in ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$params"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The function should return the HTML to be rendered on the page."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Note: We recommend avoiding making remote API calls within this function as doing so will result in increased overheads for page"," ","load and potentially slower page load times."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"/**\n * Client Area Output.\n *\n * This function renders output to the domain details interface within\n * the client area. The return should be the HTML to be output.\n *\n * @param array $params common module parameters\n *\n * @see https://developers.whmcs.com/domain-registrars/module-parameters/\n *\n * @return string HTML Output\n */\nfunction registrarmodule_ClientArea($params)\n{\n    $output = <<<HTML\n<div class=\"alert alert-info\">\n    Your custom HTML output goes here...\n</div>\nHTML;\n    return $output;\n}\n"},"children":[]}]},"headings":[{"value":"Client Area Output","id":"client-area-output","depth":1}],"frontmatter":{"title":"Client Area Output","seo":{"title":"Client Area Output"}},"lastModified":"2026-08-04T14:47:26.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/domain-registrars/client-area-output","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}