Description

This function lists available themes.

 We recommend that you use this function's output within <select> HTML tags.

Examples 


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$list_themes = $cpanel->api1('Resellers','themelistopt'); // Call the function.

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $list_themes = $cpliveapi->api1('Resellers','themelistopt'); # Call the function.

 

<cpanel Module="Resellers::themelistopt()">
cpapi1 --user=username Resellers themelistopt

<option selected="selected" value="paper_lantern">paper_lantern</option>

Parameters

This function does not accept parameters.

Returns

This function displays an HTML-formatted list of themes.