cPanel module
Chrome
1 functions, invoked through the cpanel_uapi tool.
scope cpanel:uapi
Call any function with
cpanel_uapi(service_id, module="Chrome", function, params). Live availability depends on the cPanel features JetHost has enabled on your account — call list_cpanel_operations to see what is active.get_dom GET#
Return cPanel theme header and footer HTML
This function returns header and footer HTML. You can use this HTML to create a page with the same visual appearance as your cPanel theme.
page_titlestringRequired
The title of the page to wrap in the theme's headers and footers.
Response — normalized as { ok, data, errors[], warnings[] }; data contains:
footerstring
The pages' footer.
headerstring
The pages' header.