WpvSkinManagement

Extends \WpvAjax

class WpvSkinManagement

Methods

Hook ajax actions

__construct() 
inherited

Output HTML for the skin import <select>

available_skins() 

Imports a skin

load_skin() 

Deletes a skin

delete_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

Arguments

$ids

array

list of option names

Response

array

options with values

Maps the multiple-option rows to their individual keys

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

Arguments

$type

string

option type

$id

string

option id prefix

Response

array

list of option ids

Processes option rows which do not have IDs

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

Arguments

$type

string

option type

$option

array

option row config

Response

array

option IDs after expansion