The header() method calls the cPanel interface's header. Use this method to add the necessary header buttons at the top of the interface.
This method is available in cPanel & WHM version 11.46 and later. The app_key parameter is only available in cPanel & WHM version 11.52 and later. This method is only compatible with cPanel's Paper Lantern theme.
LiveAPI PHP Class
// Inject the title page and application icon into the header element.
$cpanel->header(title , app_key);
LiveAPI Perl Module
# Inject the title page and application icon into the header element.
$cpliveapi->header(title , app_key);
The title of the page to inject into the cPanel interface's <header> element.
A valid HTML page's title value.
The app_key value for the application interface that you want to inject into the cPanel interface's <header> element.
cPanel, WebHost Manager, and WHM are registered trademarks of cPanel, L.L.C. for providing its computer software that facilitates the management and configuration of Internet web servers. ®2020 All rights reserved.