Description
This function returns the user's current style.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
|
Return |
Type |
Description |
Possible values |
Example |
|
preview |
Boolean |
Whether the style contains a preview image. |
|
1 |
|
name |
string |
The folder that contains the style. |
A valid filename. |
basic |
|
default |
Boolean |
Whether the style is the default style. |
|
1 |
|
type |
string |
The style type. |
|
default |
|
selected |
Boolean |
Whether the style is the current style. |
|
1 |
|
display_name |
string |
The style name. |
A style name. The style's directory name determines this name. |
Basic |
