The cpanelprint() method returnsa cPanel variable's value.
Despite its name, this method does not print a value.
To return a hash reference of a cPanel variable's value, use the fetch() method.
LiveAPI PHP Module
// Retrieve the cPanel account's username.
LiveAPI Perl Module
# Retrieve the cPanel account's username.
A cPanel variable.
A valid cPanel variable. Surround this variable with single quotes ('')
The single quotes in this example are required. The method does not interpolate them. Instead, it passes those quotes to cPanel's print function, which requires them in order to return the correct value.
cPanel, WebHost Manager, and WHM are registered trademarks of cPanel, Inc. for providing its computer software that facilitates the management and configuration of Internet web servers. ®2018 All rights reserved.