.pdf)
WHM Plugins
| API Version: | 2 - Click here for documentation |
|---|---|
| Description: | Retrieve parked domains, addon domains, and main domains for a cPanel account. |
| Returns: | |
<data> <domain> A string value that contains a domain.</domain> </data> |
| API Version: | 2 - Click here for documentation |
|---|---|
| Description: | Retrieve the absolute and relative paths to a specific domain's document root. |
| Parameters: | |
| domain (string) | |
| The domain corresponding to the document root you wish to know. If you do not pass this parameter any information, your main domain is used. You must own the domain you wish to query. | |
| Returns: | |
<data> <docroot> A string value that contains the absolute path to the domain's document root. (e.g. /home/user/public_html/subdomain/)</docroot> <reldocroot> A string value that contains the relative path to the domain's document root. (e.g. public_html/subdomain/)</reldocroot> </data> |
| API Version: | 2 - Click here for documentation |
|---|---|
| Description: | Retrieve the full paths to all of your domains' document roots. |
| Returns: | |
<data> <docroot> A string value that contains the absolute path to the domain's document root. (e.g. /home/user/public_html/subdomain/)</docroot> <domain> A string value that contains the domain name corresponding to the document root. (e.g. example.com)</domain> </data> |
| API Version: | 2 - Click here for documentation |
|---|---|
| Description: | Retrieve the total number of base domains associated with your cPanel account. This value includes the main domain, addon domains, and parked domains. |
| Returns: | |
<data> <count> An integer value that contains the number of base domains associated with your cPanel account.</count> </data> |