This function retrieves the server's custom style. You can set the custom style through WHM's Customization interface (Home >> cPanel >> Customization) or with WHM API 1's save_style
function.
object | |
object |
whmapi1 --output=jsonpretty \ load_style
{- "data": {
- "branding_dir": "/var/cpanel/customizations/brand",
- "company_logo": "logo.png",
- "company_name": "Example Corporation",
- "favicon": "favicon.png",
- "webmail_logo": "webmail.png"
}, - "metadata": {
- "command": "load_style",
- "reason": "Ok",
- "result": 1,
- "version": 1
}
}