Development Guides Home >> Guide to the LiveAPI System >> LiveAPI Methods

Guide to the LiveAPI System - The footer() Method

The footer() method calls the cPanel interface's footer. Use this method to add the necessary footer buttons at the bottom of the interface.

This method is available in cPanel & WHM version 11.46 and later, and is only compatible with cPanel's Paper Lantern theme.

Example

LiveAPI PHP Class

// Inject the title page into the footer element.
$cpanel->footer(title);

LiveAPI Perl Module

# Inject the title page into the footer element.
$cpliveapi->footer(title);

Parameters

Parameter Type Description Possible values Example
title string The title of the page to inject into the cPanel interface's <body-content> element. A valid HTML page's title value. title

Returns

This method returns a string value that contains the contents of the interface page before the <body-content> element.