class WpvShortcodesGenerator

 Methods

Initialize the generator

__construct(array $config, array $shortcode) 

Parameters

$config

array

generator options

$shortcode

array

shortcode option definitions

Auto fill <select> options

get_select_target_config(string $type) : array
Inherited
inherited_from \WpvConfigGenerator::get_select_target_config()

Parameters

$type

string

autofill type

Returns

arrayoptions list

Render the generator

render() 

Auto fill <select> options

target_config(string $type) : array
InheritedStatic
inherited_from \WpvConfigGenerator::target_config()

Parameters

$type

string

autofill type

Returns

arrayoptions list

Single options row template

tpl(string $template, array $value) 
Inherited
inherited_from \WpvConfigGenerator::tpl()

Parameters

$template

string

template name

$value

array

options row config

Save the current page config

save_config() 
Inherited
inherited_from \WpvConfigGenerator::save_config()

 Properties

 

$name : string
Inherited
inherited_from \WpvConfigGenerator::$$name
 

$options : array
Inherited
inherited_from \WpvConfigGenerator::$$options