class WpvSkinManagement

 Methods

Hook ajax actions

__construct() 

Output HTML for the skin import <select>

available_skins() 

Deletes a skin

delete_skin() 

Imports a skin

load_skin() 

Saves the current theme options in a new skin

save_skin() 

Gets the values of a list of options

get_values(array $ids) : array

Parameters

$ids

array

list of option names

Returns

arrayoptions with values

Maps the multiple-option rows to their individual keys

process_option_id(string $type, string $id) : array

Parameters

$type

string

option type

$id

string

option id prefix

Returns

arraylist of option ids

Processes option rows which do not have IDs

process_option_noid(string $type, array $option) : array

Parameters

$type

string

option type

$option

array

option row config

Returns

arrayoption IDs after expansion