WpvShortcodesGenerator

Extends \WpvConfigGenerator

class WpvShortcodesGenerator

Methods

Initialize the generator

__construct(string $name, array $options) 
inherited

Arguments

$name

string

$options

array

definitions for the config page

Renders the option page

render() 
inherited

Save the current page config

save_config() 
inherited

Single options row template

tpl(string $template, array $value) 
inherited

Arguments

$template

string

template name

$value

array

options row config

Prints the templates for the Backbone.js-powered parts of our admin

print_templates() 
inherited static

Auto fill <select> options

get_select_target_config(string $type) : array
inherited static

Arguments

$type

string

autofill type

Response

array

options list

Auto fill <select> options

target_config(string $type) : array
inherited static

Arguments

$type

string

autofill type

Response

array

options list

Properties

Options page name

name : string
inherited
var

Type(s)

string

Options page config

options : array
inherited
var

Type(s)

array